diff options
author | 2014-05-28 15:09:55 +0800 | |
---|---|---|
committer | 2014-06-06 09:29:56 +0800 | |
commit | 23cd573b46c1f90645023ca2989bc041a0fcf38c (patch) | |
tree | 0ca41212c75a6b3e48b0fdcae31817b58cbb56c4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mds: check cap ID when handling cap export message (diff) | |
download | linux-dev-23cd573b46c1f90645023ca2989bc041a0fcf38c.tar.xz linux-dev-23cd573b46c1f90645023ca2989bc041a0fcf38c.zip |
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: Zhang Zhen <zhenzhang.zhang@huawei.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions