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:
parent
4bb60c05bf
commit
a009c0fb40
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user