mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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;
|
||||
goto revert_new_lv;
|
||||
}
|
||||
|
||||
backup(vg);
|
||||
/* When change is activating, don't duplicate backup call */
|
||||
if (!is_change_activating(lp->activate))
|
||||
backup(vg);
|
||||
}
|
||||
if (is_change_activating(lp->activate)) {
|
||||
/* Send message so that table preload knows new thin */
|
||||
|
Loading…
Reference in New Issue
Block a user