1
0
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:
Zdenek Kabelac 2013-07-02 23:59:52 +02:00
parent fe09d84668
commit eeb164b50f

View File

@ -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