mirror of
https://github.com/ceph/ceph
synced 2024-12-23 20:03:56 +00:00
mds: fix intermediate snapped inode updates
Pass head inode to pick_inode_snap!
This commit is contained in:
parent
3b5a53f01b
commit
84e835f1e6
@ -1875,7 +1875,7 @@ void Locker::handle_client_caps(MClientCaps *m)
|
||||
dout(10) << " updating intermediate snapped inode " << *in << dendl;
|
||||
_do_cap_update(in, NULL, m->get_dirty(), follows, m, NULL);
|
||||
}
|
||||
in = mdcache->pick_inode_snap(in, in->last);
|
||||
in = mdcache->pick_inode_snap(head_in, in->last);
|
||||
}
|
||||
|
||||
// head inode, and cap
|
||||
|
Loading…
Reference in New Issue
Block a user