]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: move rbd_dev_destroy() call out of rbd_dev_image_release()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 13 Apr 2017 10:17:37 +0000 (12:17 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 4 May 2017 07:19:23 +0000 (09:19 +0200)
commitf6f3c8889f3b822869188b1235dd6195b98ae995
tree98649d694c335db4993a9bdc9a8edfe7cdf87c81
parent32c4b06739205e3a11eaafe20f93dc270f98f19f
rbd: move rbd_dev_destroy() call out of rbd_dev_image_release()

... to simplify error handling in do_rbd_add().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
drivers/block/rbd.c