git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca665e0
)
ceph: refactor readpage_nounlock() to make the logic clearer
author
Zhang Zhen
<zhenzhang.zhang@huawei.com>
Wed, 28 May 2014 07:09:55 +0000
(15:09 +0800)
committer
Yan, Zheng
<zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:56 +0000
(09:29 +0800)
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: Zhang Zhen <zhenzhang.zhang@huawei.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
No differences found