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

bugzilla at redhat.com bugzilla at redhat.com
Tue May 24 18:20:12 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14523 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit eb4bd2444531ad0d347c574e8341afbba8bf143d
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: 1339228
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/14523
    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=BAzTOl0XO0&a=cc_unsubscribe


More information about the Bugs mailing list