diff options
author | David Teigland <teigland@redhat.com> | 2015-10-22 14:56:22 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-10-22 15:10:49 -0500 |
commit | d6c1f2ead1c390022ad7b6a17a35e41afc4c73ab (patch) | |
tree | 208ef700531f71cea4c1baa84173a3d7100b3630 /tools/tools.h | |
parent | 73e679f33f411c65c9b7c7e4e501d97245f0bf5d (diff) | |
download | lvm2-dev-dct-vg-read.tar.gz |
vg_read: improve VG not found handlingdev-dct-vg-read
Also fix the ONE_VGNAME_ARG flag which was passed and checked
as a function arg, but is actually a struct flag.
Diffstat (limited to 'tools/tools.h')
-rw-r--r-- | tools/tools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools.h b/tools/tools.h index 4ed893fc4..9857466de 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -99,12 +99,12 @@ struct arg_value_group_list { #define ALL_VGS_IS_DEFAULT 0x00000004 /* Process all devices with --all if none are specified on the command line. */ #define ENABLE_ALL_DEVS 0x00000008 -/* Exactly one VG name argument required. */ -#define ONE_VGNAME_ARG 0x00000010 /* Command needs a shared lock on a VG; it only reads the VG. */ #define LOCKD_VG_SH 0x00000020 /* Command does not process any metadata. */ #define NO_METADATA_PROCESSING 0x00000040 +/* Command processes only a single VG name. */ +#define ONE_VGNAME_ARG 0x00000080 /* a register of the lvm commands */ struct command { |