Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23cd573b authored by Zhang Zhen's avatar Zhang Zhen Committed by Yan, Zheng
Browse files

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: default avatarZhang Zhen <zhenzhang.zhang@huawei.com>
Reviewed-by: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent ca665e02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment