Bug 1371018 - Locks xlators is leaking fdctx in pl_release()
Summary: Locks xlators is leaking fdctx in pl_release()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1370390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-29 07:26 UTC by Anoop C S
Modified: 2016-09-03 07:17 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1370390
Environment:
Last Closed: 2016-08-29 07:27:52 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anoop C S 2016-08-29 07:26:07 UTC
+++ This bug was initially created as a clone of Bug #1370390 +++

Locks xlators is leaking fdctx in pl_release when inode_ctx_get return non-zero.

--- Additional comment from Worker Ant on 2016-08-26 12:49:26 IST ---

REVIEW: http://review.gluster.org/15323 (features/locks: fix fdctx leak in locks xlators) posted (#2) for review on release-3.8 by Oleksandr Natalenko (oleksandr)

--- Additional comment from Worker Ant on 2016-08-26 20:32:52 IST ---

COMMIT: http://review.gluster.org/15323 committed in release-3.8 by Pranith Kumar Karampuri (pkarampu) 
------
commit 50fa85c071553b41f33a8167b31c8a9b54cfe3e3
Author: yanping.gao <yanping.gao>
Date:   Wed Aug 24 06:47:49 2016 +0000

    features/locks: fix fdctx leak in locks xlators
    
    Problem:
    Locks xlators is leaking fdctx in pl_release when
    inode_ctx_get return non-zero
    
    Fix:
    This patch fixes fdctx leak in pl_release path
    
    > Reviewed-on: http://review.gluster.org/15302
    > Smoke: Gluster Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    > Tested-by: Pranith Kumar Karampuri <pkarampu>
    
    Change-Id: Icd5c5c681b7d890e7971b3b06d4258a51d45097d
    BUG: 1370390
    Signed-off-by: Yanping.gao <yanping.gao>
    Signed-off-by: Oleksandr Natalenko <oleksandr>
    Reviewed-on: http://review.gluster.org/15323
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 1 Anoop C S 2016-08-29 07:27:52 UTC
Patch merged in mainline:

https://review.gluster.org/#/c/15302/


Note You need to log in before you can comment on or make changes to this bug.