mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvconvert: fix error path test
lvremove_single toollib function returns ECMD_FAILED or ECMD_PROCESSED.
This commit is contained in:
parent
a39563c0b0
commit
7daba90fa3
@ -1,5 +1,6 @@
|
||||
Version 2.02.147 -
|
||||
==================================
|
||||
Fix test for lvremove failure in lvconvert --uncache (2.02.146).
|
||||
|
||||
Version 2.02.146 - 11th March 2016
|
||||
==================================
|
||||
|
@ -2043,7 +2043,7 @@ static int _lvconvert_uncache(struct cmd_context *cmd,
|
||||
}
|
||||
}
|
||||
|
||||
if (!lvremove_single(cmd, remove_lv, NULL))
|
||||
if (lvremove_single(cmd, remove_lv, NULL) != ECMD_PROCESSED)
|
||||
return_0;
|
||||
|
||||
if (remove_lv != lv)
|
||||
|
Loading…
Reference in New Issue
Block a user