aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-26 00:15:08 -0400
committerSage Weil <sage@inktank.com>2013-05-02 00:19:34 -0400
commit5655c4d940ba8dd32250ab1e4ba3db785943a28e (patch)
treeeca7458b04f89420efe1fdfe576488f9cd6814b9 /net/lapb
parentc0fba36880288afbeca872298c970fb4abb76464 (diff)
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 'net/lapb')
0 files changed, 0 insertions, 0 deletions