diff options
author | 2012-09-24 20:59:48 -0700 | |
---|---|---|
committer | 2012-10-01 17:20:00 -0500 | |
commit | d63b77f4c552cc3a20506871046ab0fcbc332609 (patch) | |
tree | a428fe42c092c0f6126a99fbc788ae96e8922a97 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: convert to use le32_add_cpu() (diff) | |
download | linux-dev-d63b77f4c552cc3a20506871046ab0fcbc332609.tar.xz linux-dev-d63b77f4c552cc3a20506871046ab0fcbc332609.zip |
libceph: check for invalid mapping
If we encounter an invalid (e.g., zeroed) mapping, return an error
and avoid a divide by zero.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions