ceph: refactor readpage_nounlock() to make the logic clearer
If the return value of ceph_osdc_readpages() is not negative, it is certainly greater than or equal to zero. Remove the useless condition judgment and redundant braces. Signed-off-by: NZhang Zhen <zhenzhang.zhang@huawei.com> Reviewed-by: NYan, Zheng <zheng.z.yan@intel.com>
Showing
想要评论请 注册 或 登录