From bb097a97eade0721251f6faf92e5bd88b6339e6f Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 6 Feb 2008 15:47:28 +0000 Subject: split orphan VG by format type --- tools/pvchange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/pvchange.c') diff --git a/tools/pvchange.c b/tools/pvchange.c index 1783bad8..c7a0ee71 100644 --- a/tools/pvchange.c +++ b/tools/pvchange.c @@ -171,7 +171,7 @@ static int _pvchange_single(struct cmd_context *cmd, struct physical_volume *pv, if (!is_orphan(pv)) { orig_vg_name = pv_vg_name(pv); orig_pe_alloc_count = pv_pe_alloc_count(pv); - pv->vg_name = ORPHAN; + pv->vg_name = pv->fmt->orphan_vg_name; pv->pe_alloc_count = 0; if (!(pv_write(cmd, pv, NULL, INT64_C(-1)))) { log_error("pv_write with new uuid failed " -- cgit