From: Alex Elder Date: Fri, 26 Apr 2013 04:15:08 +0000 (-0500) Subject: rbd: fix image id leak in initial probe X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5655c4d940ba8dd32250ab1e4ba3db785943a28e;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed