diff options
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/auth.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index 5974e8a493c4..e5a3b5141ed2 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -63,6 +63,7 @@ struct rpc_cred { | |||
63 | #define RPC_CREDCACHE_MASK (RPC_CREDCACHE_NR - 1) | 63 | #define RPC_CREDCACHE_MASK (RPC_CREDCACHE_NR - 1) |
64 | struct rpc_cred_cache { | 64 | struct rpc_cred_cache { |
65 | struct hlist_head hashtable[RPC_CREDCACHE_NR]; | 65 | struct hlist_head hashtable[RPC_CREDCACHE_NR]; |
66 | spinlock_t lock; | ||
66 | unsigned long nextgc; /* next garbage collection */ | 67 | unsigned long nextgc; /* next garbage collection */ |
67 | unsigned long expire; /* cache expiry interval */ | 68 | unsigned long expire; /* cache expiry interval */ |
68 | }; | 69 | }; |
@@ -126,6 +127,8 @@ struct rpc_credops { | |||
126 | extern const struct rpc_authops authunix_ops; | 127 | extern const struct rpc_authops authunix_ops; |
127 | extern const struct rpc_authops authnull_ops; | 128 | extern const struct rpc_authops authnull_ops; |
128 | 129 | ||
130 | void __init rpc_init_authunix(void); | ||
131 | |||
129 | int rpcauth_register(const struct rpc_authops *); | 132 | int rpcauth_register(const struct rpc_authops *); |
130 | int rpcauth_unregister(const struct rpc_authops *); | 133 | int rpcauth_unregister(const struct rpc_authops *); |
131 | struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *); | 134 | struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *); |