]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/obj_bencher.cc: use more readable constant instead of magic number
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 3 Mar 2016 10:22:57 +0000 (11:22 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 3 Mar 2016 10:22:57 +0000 (11:22 +0100)
commitcd4961581ac73152d8863dd9a0f25c08ed62a69c
tree3aff87698ae71040e99c66c272bfe82f2d22fc33
parent22417925fec7a622c8d5f1a6958fd93eff9b7edf
common/obj_bencher.cc: use more readable constant instead of magic number

When clean_up_slow() fails, it returns "-5" which is equal to -EIO.
Change it in source, so it's not confusing for someone who does not
remember all error codes (functionality remains the same).

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/common/obj_bencher.cc