diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-05-30 16:12:45 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-05-30 16:16:29 +0200 |
commit | d1ac6108c39ff8a3496624508a0e709c503d7d9f (patch) | |
tree | 22ad761843b95a885ef41569593492c099b97b01 | |
parent | 4141409eb09e78aef030346995f1722fb40956d8 (diff) | |
download | lvm2-d1ac6108c39ff8a3496624508a0e709c503d7d9f.tar.gz |
flags: restore same logic with MISSING
Since lvmetad is using 'MISSING' in status for 'another' purpose,
we need to support ATM also flag get from this place.
Until fixed better - we accept both flags - alhough lvm2 will
only print in flags.
-rw-r--r-- | lib/format_text/flags.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/format_text/flags.c b/lib/format_text/flags.c index 04896f469..2b934da2c 100644 --- a/lib/format_text/flags.c +++ b/lib/format_text/flags.c @@ -47,6 +47,7 @@ static const struct flag _pv_flags[] = { {ALLOCATABLE_PV, "ALLOCATABLE", STATUS_FLAG}, {EXPORTED_VG, "EXPORTED", STATUS_FLAG}, {MISSING_PV, "MISSING", COMPATIBLE_FLAG}, + {MISSING_PV, "MISSING", STATUS_FLAG}, {UNLABELLED_PV, NULL, 0}, {0, NULL, 0} }; |