diff options
author | 2013-04-25 23:15:08 -0500 | |
---|---|---|
committer | 2013-05-01 21:19:34 -0700 | |
commit | 5655c4d940ba8dd32250ab1e4ba3db785943a28e (patch) | |
tree | eca7458b04f89420efe1fdfe576488f9cd6814b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rbd: have rbd_dev_image_id() set format 1 image id (diff) | |
download | linux-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