]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't hold owner_lock for validate_image_removal()
authorIlya Dryomov <idryomov@gmail.com>
Mon, 8 Feb 2021 16:01:47 +0000 (17:01 +0100)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Feb 2021 19:33:02 +0000 (14:33 -0500)
commit912c5644fb2d195a480c03738cca4d498eb38be0
tree5125acc85c9a88ab6a14aee94add3b137d12d733
parenta9b2bdb3a53627a9eda81c1ea44321b2710b63e3
librbd: don't hold owner_lock for validate_image_removal()

handle_exclusive_lock() and handle_shut_down_exclusive_lock() call
validate_image_removal() without owner_lock held, so holding it in
shut_down_exclusive_lock() appears to be redundant.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b1bf3eaef200fb5d1aa847cad14936f2bbbf7b64)
src/librbd/image/PreRemoveRequest.cc