]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
squid: mds: remove unnecssary quiesce finisher variable 57730/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 27 Mar 2024 16:05:44 +0000 (12:05 -0400)
committerLeonid Usov <leonid.usov@ibm.com>
Wed, 29 May 2024 08:42:28 +0000 (11:42 +0300)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ed519f63f632e49fcb6f45bcf03e1022e17378b9)

src/mds/MDCache.cc

index 78e1fd310d6332084c8b0a8fbcc267e8d4519835..7c422fb8b69c07edbb4735f60f7fcad00b215fe9 100644 (file)
@@ -13909,9 +13909,8 @@ void MDCache::dispatch_quiesce_path(const MDRequestRef& mdr)
 
   mdr->result = 0;
   if (qfinisher) {
-    auto* c = mdr->internal_op_finish;
     mdr->internal_op_finish = nullptr; // prevent ::request_kill recursion
-    c->complete(0);
+    qfinisher->complete(0);
   }
 
   /* caller kills this op */