mirror of
https://github.com/ceph/ceph
synced 2025-03-30 07:19:14 +00:00
client: fix ancient typo in caps revocation path
If we have dropped all references to a revoked capability, send the ack to the MDS. This typo has been there since v0.7 (early 2009)! Backport: cuttlefish Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com>
This commit is contained in:
parent
f179dc1f3d
commit
b7143c2f84
@ -2414,7 +2414,7 @@ void Client::check_caps(Inode *in, bool is_delayed)
|
||||
}
|
||||
|
||||
/* completed revocation? */
|
||||
if (revoking && (revoking && used) == 0) {
|
||||
if (revoking && (revoking & used) == 0) {
|
||||
ldout(cct, 10) << "completed revocation of " << ccap_string(cap->implemented & ~cap->issued) << dendl;
|
||||
goto ack;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user