From: Xiubo Li Date: Thu, 3 Aug 2023 03:18:27 +0000 (+0800) Subject: mds: remove unused C_MDC_OpenSnapRealms X-Git-Tag: v19.0.0~728^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=15dafc3244e1ebc52c896926dbd235b2edc79364;p=ceph-ci.git mds: remove unused C_MDC_OpenSnapRealms This was just left and forgot to be removed. Signed-off-by: Xiubo Li --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 014e9bb09c2..2c939b2a802 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -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;