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-9679 modules: Use LIST_HEAD for declaring list_heads
[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
3ee125f
..
4864191
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_mech_switch.c
+++ b/
lustre/ptlrpc/gss/gss_mech_switch.c
@@
-61,7
+61,7
@@
#include "gss_api.h"
#include "gss_crypto.h"
#include "gss_api.h"
#include "gss_crypto.h"
-static
struct list_head registered_mechs = LIST_HEAD_INIT
(registered_mechs);
+static
LIST_HEAD
(registered_mechs);
static DEFINE_SPINLOCK(registered_mechs_lock);
int lgss_mech_register(struct gss_api_mech *gm)
static DEFINE_SPINLOCK(registered_mechs_lock);
int lgss_mech_register(struct gss_api_mech *gm)