mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
lv_manip: remove vg_revert
vg_commit is supposed to have implicit revert handling. (however as of now it needs fixes).
This commit is contained in:
parent
413fc9d3e6
commit
aee8611af5
@ -6096,7 +6096,6 @@ struct logical_volume *insert_layer_for_lv(struct cmd_context *cmd,
|
|||||||
|
|
||||||
if (!vg_commit(lv_where->vg)) {
|
if (!vg_commit(lv_where->vg)) {
|
||||||
log_error("Failed to commit intermediate VG %s metadata for mirror conversion.", lv_where->vg->name);
|
log_error("Failed to commit intermediate VG %s metadata for mirror conversion.", lv_where->vg->name);
|
||||||
vg_revert(lv_where->vg);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user