]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rbd: do not leak image_id in rbd_dev_v2_parent_info()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 27 Jun 2014 17:46:33 +0000 (21:46 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 8 Jul 2014 11:08:46 +0000 (15:08 +0400)
commitfbba11b3bec52ff560cb42d102f61341049defb0
treeef88741110ec7a80722870dd27785003d802f873
parent494d77bf8fd732f164b91710bd522ee38acb4c2e
rbd: do not leak image_id in rbd_dev_v2_parent_info()

image_id is leaked if the parent happens to have been recorded already.
Fix it.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c