summaryrefslogtreecommitdiffstats
path: root/tools/vgreduce.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-02-06 15:47:28 +0000
committerAlasdair Kergon <agk@redhat.com>2008-02-06 15:47:28 +0000
commitbb097a97eade0721251f6faf92e5bd88b6339e6f (patch)
tree58c7227c148eb8c12de8b77ce56c53e204d54ea2 /tools/vgreduce.c
parent17dd04ca1f739690e4341adf04abb98d5664b26d (diff)
downloadlvm2-bb097a97eade0721251f6faf92e5bd88b6339e6f.tar.gz
lvm2-bb097a97eade0721251f6faf92e5bd88b6339e6f.tar.xz
lvm2-bb097a97eade0721251f6faf92e5bd88b6339e6f.zip
split orphan VG by format type
Diffstat (limited to 'tools/vgreduce.c')
-rw-r--r--tools/vgreduce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgreduce.c b/tools/vgreduce.c
index 4b4dea48..ccda5d96 100644
--- a/tools/vgreduce.c
+++ b/tools/vgreduce.c
@@ -376,7 +376,7 @@ static int _vgreduce_single(struct cmd_context *cmd, struct volume_group *vg,
if (pvl)
list_del(&pvl->list);
- pv->vg_name = ORPHAN;
+ pv->vg_name = vg->fid->fmt->orphan_vg_name;
pv->status = ALLOCATABLE_PV;
if (!dev_get_size(pv_dev(pv), &pv->size)) {