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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/auth-cache.h b/xlators/nfs/server/src/auth-cache.h
index de7db6b5545..2ae0bc58490 100644
--- a/xlators/nfs/server/src/auth-cache.h
+++ b/xlators/nfs/server/src/auth-cache.h
@@ -22,7 +22,7 @@
#include "nfs3.h"
struct auth_cache {
- gf_lock_t lock; /* locking for the dict (and entries) */
+ pthread_mutex_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 */
};