summaryrefslogtreecommitdiffstats
path: root/lib/metadata/pv.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-06-29 14:56:33 +0000
committerAlasdair Kergon <agk@redhat.com>2011-06-29 14:56:33 +0000
commite189a84f57cb82bd98ecb68e3a0eaeedf8b2c15b (patch)
tree7f5920635b63d81bce7d13f0a60ee0f104590aaf /lib/metadata/pv.c
parent174ccd3561c9e7c257d74ede5d56fa8aabdc1761 (diff)
downloadlvm2-e189a84f57cb82bd98ecb68e3a0eaeedf8b2c15b.tar.gz
lvm2-e189a84f57cb82bd98ecb68e3a0eaeedf8b2c15b.tar.xz
lvm2-e189a84f57cb82bd98ecb68e3a0eaeedf8b2c15b.zip
Append 'm' attribute to pv_attr for missing PVs.
Diffstat (limited to 'lib/metadata/pv.c')
-rw-r--r--lib/metadata/pv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/metadata/pv.c b/lib/metadata/pv.c
index 7386cb1c..06920e58 100644
--- a/lib/metadata/pv.c
+++ b/lib/metadata/pv.c
@@ -197,6 +197,7 @@ char *pv_attr_dup(struct dm_pool *mem, const struct physical_volume *pv)
repstr[0] = (pv->status & ALLOCATABLE_PV) ? 'a' : '-';
repstr[1] = (pv->status & EXPORTED_VG) ? 'x' : '-';
+ repstr[2] = (pv->status & MISSING_PV) ? 'm' : '-';
return repstr;
}