mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This fixes a segfault when the option '--dry-run' is specified for device-based dumps (for which the bootmap file is created on a RAW device, not formatted with a file system). The actual status is that the option '--dry-run' for device-based dumps is not implemented. The implementation is evaluated as not trivial: In contrast with filesystem-based dumps, it is not possible to simply make do with rename/unlink of temporary created bootmap. The fixup returns error on any not file system based dumps being created with the option '--dry-run'. Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>