diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 0ebdc8aa351..d83edba56f4 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -5006,7 +5006,7 @@ void MDCache::do_file_recover() } else { dout(10) << "do_file_recover skipping " << in->inode.size << " " << *in << dendl; - in->state_clear(CInode::STATE_NEEDSRECOVER); + in->state_clear(CInode::STATE_RECOVERING); in->auth_unpin(this); if (in->filelock.is_stable()) { bool need_issue = false;