1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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 5dd9b4656f
commit 0636699cf9

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;
}