[Bugs] [Bug 1212182] nfs : racy condition in export/netgroup feature

bugzilla at redhat.com bugzilla at redhat.com
Fri May 8 03:07:06 UTC 2015


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



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10655 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 44d860c7061f7ef375001251876d91c2ec2db86f
Author: Niels de Vos <ndevos at redhat.com>
Date:   Fri May 8 00:05:25 2015 +0200

    nfs: allocate the auth_cache->cache_dict on auth_cache_init()

    It seems possible that auth_cache->cache_dict is not always allocated
    before it is accessed. Instead of allocating the dict upon the 1st
    access, just create it in auth_cache_init().

    Cherry picked from commit eb8847703b8560a045e7ed0336f895bcceda98ea:
    > Change-Id: I00e60522478b433cb0aae0c1f0948eac544dfd2b
    > URL: http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10710
    > BUG: 1143880
    > Signed-off-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-on: http://review.gluster.org/10600
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    > Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    > Tested-by: NetBSD Build System

    Change-Id: I00e60522478b433cb0aae0c1f0948eac544dfd2b
    BUG: 1212182
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/10655
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list