mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
cleanup: don't backup twice
This commit is contained in:
parent
a4788b4994
commit
f2ea890423
@ -7052,8 +7052,9 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg,
|
|||||||
stack;
|
stack;
|
||||||
goto revert_new_lv;
|
goto revert_new_lv;
|
||||||
}
|
}
|
||||||
|
/* When change is activating, don't duplicate backup call */
|
||||||
backup(vg);
|
if (!is_change_activating(lp->activate))
|
||||||
|
backup(vg);
|
||||||
}
|
}
|
||||||
if (is_change_activating(lp->activate)) {
|
if (is_change_activating(lp->activate)) {
|
||||||
/* Send message so that table preload knows new thin */
|
/* Send message so that table preload knows new thin */
|
||||||
|
Loading…
Reference in New Issue
Block a user