1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-24 17:57:48 +03:00

Fix pool names of the format1/format_pool orphan VGs.

This commit is contained in:
Petr Rockai 2012-02-15 01:44:58 +00:00
parent a635143d62
commit e22fddbff6
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;