summaryrefslogtreecommitdiffstats
path: root/lib/format_pool
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-04-11 17:42:15 +0000
committerAlasdair Kergon <agk@redhat.com>2006-04-11 17:42:15 +0000
commitf084e627cc5847aa1f08e25b654b6f9512a5b39d (patch)
treef838990c8854b704c4d72dcfe97c4e8bd6e151db /lib/format_pool
parentf9c232c2eebf02608b50cbde07c1674c211e9313 (diff)
downloadlvm2-f084e627cc5847aa1f08e25b654b6f9512a5b39d.tar.gz
lvm2-f084e627cc5847aa1f08e25b654b6f9512a5b39d.tar.xz
lvm2-f084e627cc5847aa1f08e25b654b6f9512a5b39d.zip
When scanning, also record whether or not VG is exported.
Diffstat (limited to 'lib/format_pool')
-rw-r--r--lib/format_pool/disk_rep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format_pool/disk_rep.c b/lib/format_pool/disk_rep.c
index dcb5a2be..00b52cb1 100644
--- a/lib/format_pool/disk_rep.c
+++ b/lib/format_pool/disk_rep.c
@@ -98,7 +98,7 @@ int read_pool_label(struct pool_list *pl, struct labeller *l,
log_debug("Calculated uuid %s for %s", uuid, pd->pl_pool_name);
if (!(info = lvmcache_add(l, (char *) &pvid, dev, pd->pl_pool_name,
- (char *) &vgid))) {
+ (char *) &vgid, 0))) {
stack;
return 0;
}