1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

toolcontext.h: use bit field in struct

Two recent additions should have used a bit instead
of an entire int.
This commit is contained in:
David Teigland 2021-08-12 15:51:43 -05:00
parent 59209ef049
commit e5c0562654

View File

@ -193,8 +193,8 @@ struct cmd_context {
unsigned run_by_dmeventd:1; /* command is being run by dmeventd */
unsigned sysinit:1; /* --sysinit is used */
unsigned check_devs_used:1; /* check devs used by LVs */
unsigned print_device_id_not_found; /* print devices file entries not found */
unsigned ignore_device_name_mismatch; /* skip updating devices file names */
unsigned print_device_id_not_found:1; /* print devices file entries not found */
unsigned ignore_device_name_mismatch:1; /* skip updating devices file names */
/*
* Devices and filtering.