summaryrefslogtreecommitdiffstats
path: root/lib/format1/lvm1-label.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2004-05-04 18:38:11 +0000
committerAlasdair Kergon <agk@redhat.com>2004-05-04 18:38:11 +0000
commit6ec69941076b37d6528984ee2f42628cfa7b42ef (patch)
treede7b6b78bd0175f4256654448f35bb3633e4c6c6 /lib/format1/lvm1-label.c
parent25579907fcf801f3f29b1e71aa1aab004ebb7c76 (diff)
downloadlvm2-6ec69941076b37d6528984ee2f42628cfa7b42ef.tar.gz
lvm2-6ec69941076b37d6528984ee2f42628cfa7b42ef.tar.xz
lvm2-6ec69941076b37d6528984ee2f42628cfa7b42ef.zip
Compress any (obsolete) long LVM1 pvids encountered.
Diffstat (limited to 'lib/format1/lvm1-label.c')
-rw-r--r--lib/format1/lvm1-label.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/format1/lvm1-label.c b/lib/format1/lvm1-label.c
index 6e373bb1..ceb73491 100644
--- a/lib/format1/lvm1-label.c
+++ b/lib/format1/lvm1-label.c
@@ -60,7 +60,8 @@ static int _read(struct labeller *l, struct device *dev, char *buf,
struct pv_disk *pvd = (struct pv_disk *) buf;
struct lvmcache_info *info;
- munge_exported_vg(pvd);
+ munge_pvd(dev, pvd);
+
if (!(info = lvmcache_add(l, pvd->pv_uuid, dev, pvd->vg_name, NULL))) {
stack;
return 0;