mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
mds: clear correct state bit in do_file_recover
The RECOVERING bit is set, not NEEDSRECOVER. This way we match _recovered(). Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
20d11b0b14
commit
c2de9e6a48
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user