]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: remove unused C_MDC_OpenSnapRealms
authorXiubo Li <xiubli@redhat.com>
Thu, 3 Aug 2023 03:18:27 +0000 (11:18 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 3 Aug 2023 13:07:08 +0000 (21:07 +0800)
This was just left and forgot to be removed.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/MDCache.cc

index 014e9bb09c2b4feb59892e3226841a933b98ac8d..2c939b2a802ec855f1e4d0d6ca68ef2d1eb9ebba 100644 (file)
@@ -5863,17 +5863,10 @@ void MDCache::do_delayed_cap_imports()
   ceph_assert(delayed_imported_caps.empty());
 }
 
-struct C_MDC_OpenSnapRealms : public MDCacheContext {
-  explicit C_MDC_OpenSnapRealms(MDCache *c) : MDCacheContext(c) {}
-  void finish(int r) override {
-    mdcache->open_snaprealms();
-  }
-};
-
 void MDCache::open_snaprealms()
 {
   dout(10) << "open_snaprealms" << dendl;
-  
+
   auto it = rejoin_pending_snaprealms.begin();
   while (it != rejoin_pending_snaprealms.end()) {
     CInode *in = *it;