mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
thin: fix error path
Print pool name and not the origin name.
This commit is contained in:
parent
4a52a9212c
commit
d7985ebead
@ -7085,8 +7085,8 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg,
|
||||
if (thin_pool_was_active < 0)
|
||||
thin_pool_was_active = 0;
|
||||
if (!activate_lv_excl(cmd, pool_lv)) {
|
||||
log_error("Failed to activate thin pool %s/%s.",
|
||||
origin_lv->vg->name, origin_lv->name);
|
||||
log_error("Failed to activate thin pool %s.",
|
||||
display_lvname(pool_lv));
|
||||
goto revert_new_lv;
|
||||
}
|
||||
if (!lv_is_active(pool_lv)) {
|
||||
|
Loading…
Reference in New Issue
Block a user