mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
lvconvert: use proper error path
VG needs to be released in this error path
This commit is contained in:
parent
fe09d84668
commit
eeb164b50f
@ -2413,7 +2413,7 @@ static int lvconvert_single(struct cmd_context *cmd, struct lvconvert_params *lp
|
||||
&lp->passed_args, &lp->chunk_size,
|
||||
&lp->discards, &lp->poolmetadata_size,
|
||||
&lp->zero))
|
||||
goto_out;
|
||||
goto_bad;
|
||||
|
||||
/*
|
||||
* lp->pvh holds the list of PVs available for allocation or removal
|
||||
|
Loading…
Reference in New Issue
Block a user