]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: dropped ImageRequestWQ temporary code from exclusive-lock dispatch
authorJason Dillaman <dillaman@redhat.com>
Fri, 29 May 2020 13:20:40 +0000 (09:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 3 Jun 2020 13:45:24 +0000 (09:45 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/exclusive_lock/ImageDispatch.cc

index ec76e25f25544afda784935e411ea8a2c072b7aa..7b411149d32af19026cb200b120e6c5dc1bb77df 100644 (file)
@@ -41,9 +41,6 @@ ImageDispatch<I>::~ImageDispatch() {
 
 template <typename I>
 void ImageDispatch<I>::shut_down(Context* on_finish) {
-  // TODO remove when ImageRequestWQ is removed
-  unset_require_lock(io::DIRECTION_BOTH);
-
   // release any IO waiting on exclusive lock
   Contexts on_dispatches;
   {