zipl/src: Drop "bootmap_dir" field of struct install_info

Use "bootmap_dir" field of struct job_target_data instead,
thus avoid allocation/releasing additional resources.

Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Eduard Shishkin
2024-04-13 18:40:05 +02:00
committed by Steffen Eiden
parent cfaccc5fad
commit 08232d29b9
4 changed files with 26 additions and 30 deletions
-3
View File
@@ -73,10 +73,7 @@ struct install_set {
int fd;
char *device;
char *filename;
char *bootmap_dir;
unsigned int tmp_filename_created:1;
unsigned int bootmap_dir_created:1;
unsigned int dump_mounted:1;
unsigned int skip_prepare:1;
unsigned int print_details:1;
struct disk_info *info;
+2
View File
@@ -122,6 +122,8 @@ struct job_data {
struct job_ipl_tape_data ipl_tape;
struct job_mvdump_data mvdump;
} data;
int dump_mounted;
int bootmap_dir_created;
int noninteractive;
int verbose;
int add_files;