mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Fix add_component_file_range() to process components of all types (not only of COMPONENT_TYPE_LOAD), similar to how it is going in add_component_buffer(). Earlier components of COMPONENT_TYPE_SIGNATURE were processed only by add_component_buffer(). Starting from60bc1e3, signatures for mirrors (i.e. base disks of #1 and larger ID) are processed also by the function add_component_file_range(), which works incorrectly for such type of components. Fixes:60bc1e38d0("zipl/src: Reuse data of buffer components in bootmap") Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>