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:
parent
a635143d62
commit
e22fddbff6
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user