[Bugs] [Bug 1379707] gfapi: Fix fd ref leaks

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 10 06:44:05 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1379707



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15584 committed in release-3.9 by Raghavendra
Talur (rtalur at redhat.com) 
------
commit 6b037e3782ebafe3b08656c578b5fa245f68395f
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Mon Sep 26 14:54:27 2016 +0530

    gfapi: Fix few fd ref leaks

    From the code inspection, have observed that there are fd ref
    leaks for few fd-based gfapi fops. 'glfs_resolve_fd' returns
    a fd (either existing or migrated) with an extra ref taken.
    This needs to be unref'ed at the end of the operation.

    Mainline reference:
    > Change-Id: Id63394e3e7deafb0c8b06444f2ae847248b126db
    > BUG: 1379285
    > Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    > Reviewed-on: http://review.gluster.org/15573
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    (cherry picked from commit d27cffab670858d7812bbb458a0833303d009b3b)

    Change-Id: I17dd9e31eca7ffa1f60a9e3a66b1c7051ce9002f
    BUG: 1379707
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/15584
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
    Reviewed-by: Raghavendra Talur <rtalur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LbVFaTOHg9&a=cc_unsubscribe


More information about the Bugs mailing list