diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-05-31 16:27:44 +0200 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-06-28 10:37:27 -0700 |
commit | 7b51bd636fc5e5e1ae48a4e7cba48d0d20878d15 (patch) | |
tree | 18dc62d891e1af39055627ba8637ca847130cb3d /tests | |
parent | 67f7562b5cc9e42774d1dc569471f86f61eef040 (diff) |
nfs: refcount each auth_cache_entry and related data_t
This makes sure that all the auth_cache_entry structures are only free'd
when there is no reference to it anymore. When it is free'd, the
associated data_t from the auth_cache->cache_dict gets unref'd too.
Upon calling auth_cache_purge(), the auth_cache->cache_dict will free
each auth_cache_entry in a secure way.
Change-Id: If097cc11838e43599040f5414f82b30fc0fd40c6
BUG: 1226717
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/11023
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions