aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-25 23:15:08 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:19:34 -0700
commit5655c4d940ba8dd32250ab1e4ba3db785943a28e (patch)
treeeca7458b04f89420efe1fdfe576488f9cd6814b9 /tools/perf/scripts/python/export-to-postgresql.py
parentrbd: have rbd_dev_image_id() set format 1 image id (diff)
downloadlinux-dev-5655c4d940ba8dd32250ab1e4ba3db785943a28e.tar.xz
linux-dev-5655c4d940ba8dd32250ab1e4ba3db785943a28e.zip
rbd: fix image id leak in initial probe
If a format 2 image id is found for an image being mapped, but the subsequent probe of the image fails, rbd_dev_probe() quits without freeing the image id. Fix that. Also drop a redundant hunk of code in rbd_dev_image_id(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions