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:
Patrick Donnelly 2020-11-04 21:01:35 -08:00
commit d4e115c2c5
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -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;