summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2015-05-06 10:28:56 +0200
committerNiels de Vos <ndevos@redhat.com>2015-05-07 15:03:57 -0700
commiteb8847703b8560a045e7ed0336f895bcceda98ea (patch)
tree61a3b21f49e032231d16b4cad3f3d54e31c536dd /xlators/cluster/dht
parent317560cc5544f8ca8286ba5ecedd8236746e9ebf (diff)
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(). Change-Id: I00e60522478b433cb0aae0c1f0948eac544dfd2b URL: http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10710 BUG: 1143880 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/10600 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Tested-by: NetBSD Build System
Diffstat (limited to 'xlators/cluster/dht')
0 files changed, 0 insertions, 0 deletions