If the __setattrx() fails it will leave the CEPH_CAP_FILE_WR caps reference kept. The tracker is https://tracker.ceph.com/issues/58717.
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
This is a duplicate of 2182613, which is targeted for 6.1 (so we don't need a separate bz for 6.1z1, which will already include it!). *** This bug has been marked as a duplicate of bug 2182613 ***