commit | 9499b4341b56935f61af9e7e354e7d11e70f5258 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Jun 24 15:57:57 2007 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jul 10 23:40:36 2007 -0400 |
tree | d6ef7a4608e405aef3d270a641fa1f2cbaed6c7d | |
parent | 31be5bf15f3dafffce110eb1afadccbf2e3067b4 [diff] [blame] |
SUNRPC: Give credential cache a local spinlock Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index f7ff6ad..205878a 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c
@@ -213,6 +213,11 @@ return p; } +void __init rpc_init_authunix(void) +{ + spin_lock_init(&unix_cred_cache.lock); +} + const struct rpc_authops authunix_ops = { .owner = THIS_MODULE, .au_flavor = RPC_AUTH_UNIX,