Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-812 compat: SPIN/RW_LOCK_UNLOCKED no longer exist
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_mech_switch.c
diff --git
a/lustre/ptlrpc/gss/gss_mech_switch.c
b/lustre/ptlrpc/gss/gss_mech_switch.c
index
e1b340a
..
33f7773
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_mech_switch.c
+++ b/
lustre/ptlrpc/gss/gss_mech_switch.c
@@
-64,7
+64,7
@@
#include "gss_api.h"
static CFS_LIST_HEAD(registered_mechs);
-static
cfs_spinlock_t registered_mechs_lock = CFS_SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(registered_mechs_lock)
;
int lgss_mech_register(struct gss_api_mech *gm)
{