From e22fddbff6fd979e12f8692b072cc163822adfc3 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Wed, 15 Feb 2012 01:44:58 +0000 Subject: [PATCH] Fix pool names of the format1/format_pool orphan VGs. --- lib/format1/format1.c | 2 +- lib/format_pool/format_pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/format1/format1.c b/lib/format1/format1.c index 0c59a7e32..befe3a0a2 100644 --- a/lib/format1/format1.c +++ b/lib/format1/format1.c @@ -603,7 +603,7 @@ struct format_type *init_format(struct cmd_context *cmd) return NULL; } - if (!(fmt->orphan_vg = alloc_vg("text_orphan", cmd, fmt->orphan_vg_name))) { + if (!(fmt->orphan_vg = alloc_vg("format1_orphan", cmd, fmt->orphan_vg_name))) { log_error("Couldn't create lvm1 orphan VG."); dm_free(fmt); return NULL; diff --git a/lib/format_pool/format_pool.c b/lib/format_pool/format_pool.c index 4e0600e99..583777b66 100644 --- a/lib/format_pool/format_pool.c +++ b/lib/format_pool/format_pool.c @@ -314,7 +314,7 @@ struct format_type *init_format(struct cmd_context *cmd) return NULL; } - if (!(fmt->orphan_vg = alloc_vg("text_orphan", cmd, fmt->orphan_vg_name))) { + if (!(fmt->orphan_vg = alloc_vg("pool_orphan", cmd, fmt->orphan_vg_name))) { log_error("Couldn't create lvm1 orphan VG."); dm_free(fmt); return NULL;