X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fgss%2Fgss_mech_switch.c;h=4864191661aec20049ab8fefcd3e5539b9a01758;hp=3ee125f1070bfe1a9a1cb1346389171690d096be;hb=546993d587c5fc380e9745eae98f863e02e68575;hpb=b19b318b5e74e76b3fc5b15c796666d04df62466 diff --git a/lustre/ptlrpc/gss/gss_mech_switch.c b/lustre/ptlrpc/gss/gss_mech_switch.c index 3ee125f..4864191 100644 --- 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" -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)