[Bugs] [Bug 1339226] gfapi: set mem_acct for the variables created for upcall

bugzilla at redhat.com bugzilla at redhat.com
Wed May 25 11:39:35 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14522 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com) 
------
commit ecf3241eb51fbf5264594c65c6bdb7edac31b526
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Tue May 24 17:42:06 2016 +0530

    gfapi/upcall: Use GF_CALLOC while allocating variables

    In 'glfs_h_poll_cache_invalidation', use GF_CALLOC to allocate
    'up_inode_arg' to set memory accounting which is used/referred when
    freeing the same variable in case of any erros.

    This is backport of below mainline fix -
             http://review.gluster.org/14521

    Change-Id: I365e114fa6d7abb292dacb6fc702128d046df8f8
    BUG: 1339226
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/14522
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.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=CjwO5xtvI6&a=cc_unsubscribe


More information about the Bugs mailing list