1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

cleanup: fix compate of return value

Drop '!' for 'ret' compare.
Since the effect of false compare was only stack trace printing,
it present no real code flow change.
This commit is contained in:
Zdenek Kabelac 2015-02-17 13:40:35 +01:00
parent 4bb60c05bf
commit a009c0fb40

View File

@ -3519,7 +3519,7 @@ static int _lvconvert_merge_single(struct cmd_context *cmd, struct logical_volum
*/
unlock_vg(cmd, vg_name);
if (!(ret = _poll_logical_volume(cmd, lp->lv_to_poll,
if ((ret = _poll_logical_volume(cmd, lp->lv_to_poll,
lp->wait_completion)) != ECMD_PROCESSED)
stack;