summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/auth-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/server/src/auth-cache.h')
-rw-r--r--xlators/nfs/server/src/auth-cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/auth-cache.h b/xlators/nfs/server/src/auth-cache.h
index 5f2f03c1cb8..a3ea5a43ded 100644
--- a/xlators/nfs/server/src/auth-cache.h
+++ b/xlators/nfs/server/src/auth-cache.h
@@ -22,6 +22,7 @@
#include "nfs3.h"
struct auth_cache {
+ gf_lock_t lock; /* locking for the dict (and entries) */
dict_t *cache_dict; /* Dict holding fh -> authcache_entry */
time_t ttl_sec; /* TTL of the auth cache in seconds */
};