diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index eb91692425e..c322e7e4fd5 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -11337,11 +11337,6 @@ void MDCache::handle_dentry_unlink(const cref_t &m) } ceph_assert(dnl->is_null()); dn->state_clear(CDentry::STATE_UNLINKING); - - MDSContext::vec finished; - dn->take_waiting(CDentry::WAIT_UNLINK_FINISH, finished); - mds->queue_waiters(finished); - } }