Alex Elder 5655c4d940 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>
2013-05-01 21:19:34 -07:00
..
2013-03-28 14:29:47 -04:00
2013-02-27 19:10:15 -08:00
2013-03-26 14:48:12 -06:00
2013-04-09 12:05:41 -07:00
2013-02-27 19:10:22 -08:00
2013-05-01 21:19:34 -07:00
2013-02-09 14:23:33 +01:00