This was just left and forgot to be removed.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
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;