Skip to content
Commit 8b679ec5 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

rbd: move rbd_dev_destroy() call out of rbd_dev_image_release()



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

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Reviewed-by: default avatarJason Dillaman <dillaman@redhat.com>
parent 26544c62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment