1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

A missing vg_revert in an error path.

This commit is contained in:
Alasdair Kergon 2005-11-12 22:00:50 +00:00
parent 6315982752
commit 3a32b09ad1

View File

@ -761,6 +761,7 @@ static int _lvcreate(struct cmd_context *cmd, struct lvcreate_params *lp)
if (!suspend_lv(cmd, org)) {
log_error("Failed to suspend origin %s", org->name);
vg_revert(vg);
return 0;
}