mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: clean up temporary bootmap file in case of error
zipl creates a temp bootmap file to keep the original file in case of an error. Delete this temp file in case of an error. Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
6f9337d101
commit
27a6409a4a
@@ -46,6 +46,7 @@ char* misc_make_path(char* dirname, char* filename);
|
||||
int misc_temp_dev(dev_t dev, int blockdev, char** devno);
|
||||
int misc_temp_dev_from_file(char* file, char** devno);
|
||||
void misc_free_temp_dev(char* device);
|
||||
void misc_free_temp_file(char *filename);
|
||||
int misc_check_writable_directory(const char* directory);
|
||||
int misc_check_readable_file(const char* filename);
|
||||
int misc_check_writable_device(const char* devno, int blockdev, int chardev);
|
||||
|
||||
Reference in New Issue
Block a user