From a6aecae2cd8171b8538bfe5d2800bdd157380b85 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Fri, 26 Feb 2016 19:28:58 +0530 Subject: nfs: fix lock variable type variable 'mountlock' should be generic since it is used by macros LOCK_* , it can be used spinlock or mutexlock Change-Id: If558bcf8debd98c4e1a615df0f9f0caec586e39b BUG: 1312346 Signed-off-by: Prasanna Kumar Kalever Reviewed-on: http://review.gluster.org/13532 Smoke: Gluster Build System CentOS-regression: Gluster Build System Reviewed-by: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Jeff Darcy --- xlators/nfs/server/src/mount3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/nfs/server/src/mount3.h') diff --git a/xlators/nfs/server/src/mount3.h b/xlators/nfs/server/src/mount3.h index 18fcdd9a2a7..ce01a6c543d 100644 --- a/xlators/nfs/server/src/mount3.h +++ b/xlators/nfs/server/src/mount3.h @@ -149,7 +149,7 @@ struct mount3_state { dict_t *mountdict; /* Used to protect the mountlist & the mount dict */ - pthread_spinlock_t mountlock; + gf_lock_t mountlock; /* Used to insert additional authentication parameters */ struct mnt3_auth_params *auth_params; -- cgit