mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
Merge PR #37664 into master
* refs/pull/37664/head: cephfs: release client dentry_lease before send caps release to mds Reviewed-by: Zheng Yan <zyan@redhat.com>
This commit is contained in:
commit
d4e115c2c5
@ -1945,6 +1945,7 @@ void Client::encode_dentry_release(Dentry *dn, MetaRequest *req,
|
||||
rel.item.dname_len = dn->name.length();
|
||||
rel.item.dname_seq = dn->lease_seq;
|
||||
rel.dname = dn->name;
|
||||
dn->lease_mds = -1;
|
||||
}
|
||||
ldout(cct, 25) << __func__ << " exit(dn:"
|
||||
<< dn << ")" << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user