diff options
author | 2014-03-13 16:36:14 +0200 | |
---|---|---|
committer | 2014-04-04 21:07:41 -0700 | |
commit | 2d88b2e0819e0401ebb195e9fa20fab4be1965c8 (patch) | |
tree | 2158da23ebd745e0b58f477ca1400f1934da27c6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libceph: safely decode max_osd value in osdmap_decode() (diff) | |
download | linux-dev-2d88b2e0819e0401ebb195e9fa20fab4be1965c8.tar.xz linux-dev-2d88b2e0819e0401ebb195e9fa20fab4be1965c8.zip |
libceph: check length of osdmap osd arrays
Check length of osd_state, osd_weight and osd_addr arrays. They
should all have exactly max_osd elements after the call to
osdmap_set_max_osd().
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions