aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-27 00:37:14 -0400
committerAlex Elder <elder@inktank.com>2012-10-01 15:30:48 -0400
commitd2bb24e506596ad0c10e4a7f4b2fca88cc75c0bc (patch)
tree28dcb3fe2d6c21a4cc55579245d08be1857f8876 /tools/perf/scripts/python
parentd78fd7ae03136c0610bee33eeebb4ffe67c752d5 (diff)
rbd: use sizeof (object) instead of sizeof (type)
Fix a few spots in rbd_header_from_disk() to use sizeof (object) rather than sizeof (type). Use a local variable to record sizes to shorten some lines and improve readability. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions