mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
fix precedence
This commit is contained in:
parent
a6b22cf317
commit
9a17ce30a0
@ -918,7 +918,7 @@ deactivate_and_revert_new_lv:
|
|||||||
|
|
||||||
revert_new_lv:
|
revert_new_lv:
|
||||||
/* FIXME Better to revert to backup of metadata? */
|
/* FIXME Better to revert to backup of metadata? */
|
||||||
if (!lv_remove(lv) || !vg_write(vg) || backup(vg), !vg_commit(vg))
|
if (!lv_remove(lv) || !vg_write(vg) || (backup(vg), !vg_commit(vg)))
|
||||||
log_error("Manual intervention may be required to remove "
|
log_error("Manual intervention may be required to remove "
|
||||||
"abandoned LV(s) before retrying.");
|
"abandoned LV(s) before retrying.");
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -1415,7 +1415,7 @@ deactivate_and_revert_new_lv:
|
|||||||
}
|
}
|
||||||
|
|
||||||
revert_new_lv:
|
revert_new_lv:
|
||||||
if (!lv_remove(log_lv) || !vg_write(vg) || backup(vg), !vg_commit(vg))
|
if (!lv_remove(log_lv) || !vg_write(vg) || (backup(vg), !vg_commit(vg)))
|
||||||
log_error("Manual intervention may be required to remove "
|
log_error("Manual intervention may be required to remove "
|
||||||
"abandoned log LV before retrying.");
|
"abandoned log LV before retrying.");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user