Bug 2182616

Summary: client: fix CEPH_CAP_FILE_WR caps reference leakage in _write()
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Xiubo Li <xiubli>
Component: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED DUPLICATE QA Contact: Hemanth Kumar <hyelloji>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: ceph-eng-bugs, cephqe-warriors, gfarnum
Target Milestone: ---   
Target Release: 6.1z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-10 15:21:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiubo Li 2023-03-29 04:22:56 UTC
If the __setattrx() fails it will leave the CEPH_CAP_FILE_WR caps
    reference kept.

The tracker is https://tracker.ceph.com/issues/58717.

Comment 1 RHEL Program Management 2023-03-29 17:41:50 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Greg Farnum 2023-04-10 15:21:43 UTC
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 ***