Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit c1499a04 authored by ZhangXiaoxu's avatar ZhangXiaoxu Committed by Mike Snitzer
Browse files

dm space map common: remove check for impossible sm_find_free() return value


The function sm_find_free() just returns -ENOSPC and 0.
So remove lone caller's check for some other error.

Signed-off-by: default avatarZhangXiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent bcd67654
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment