mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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:
parent
59209ef049
commit
e5c0562654
@ -193,8 +193,8 @@ struct cmd_context {
|
|||||||
unsigned run_by_dmeventd:1; /* command is being run by dmeventd */
|
unsigned run_by_dmeventd:1; /* command is being run by dmeventd */
|
||||||
unsigned sysinit:1; /* --sysinit is used */
|
unsigned sysinit:1; /* --sysinit is used */
|
||||||
unsigned check_devs_used:1; /* check devs used by LVs */
|
unsigned check_devs_used:1; /* check devs used by LVs */
|
||||||
unsigned print_device_id_not_found; /* print devices file entries not found */
|
unsigned print_device_id_not_found:1; /* print devices file entries not found */
|
||||||
unsigned ignore_device_name_mismatch; /* skip updating devices file names */
|
unsigned ignore_device_name_mismatch:1; /* skip updating devices file names */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Devices and filtering.
|
* Devices and filtering.
|
||||||
|
Loading…
Reference in New Issue
Block a user