diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-07-31 14:29:07 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-08-04 08:52:57 -0400 |
commit | 5d8d9a4d9ff74c55901642b4e2ac5124830ddafe (patch) | |
tree | 9f171aa61048cf5c154597466af21ea7c4d701a2 /include/linux/sunrpc | |
parent | d05dd4e98f0dd30ee933e05ac9363614c47df83a (diff) |
NFS: Ensure the AUTH_UNIX credcache is allocated dynamically
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/auth.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index 87d7ec0bf779..784e78c73ec5 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -125,11 +125,12 @@ struct rpc_credops { | |||
125 | extern const struct rpc_authops authunix_ops; | 125 | extern const struct rpc_authops authunix_ops; |
126 | extern const struct rpc_authops authnull_ops; | 126 | extern const struct rpc_authops authnull_ops; |
127 | 127 | ||
128 | void __init rpc_init_authunix(void); | 128 | int __init rpc_init_authunix(void); |
129 | void __init rpc_init_generic_auth(void); | 129 | int __init rpc_init_generic_auth(void); |
130 | void __init rpcauth_init_module(void); | 130 | int __init rpcauth_init_module(void); |
131 | void __exit rpcauth_remove_module(void); | 131 | void __exit rpcauth_remove_module(void); |
132 | void __exit rpc_destroy_generic_auth(void); | 132 | void __exit rpc_destroy_generic_auth(void); |
133 | void rpc_destroy_authunix(void); | ||
133 | 134 | ||
134 | struct rpc_cred * rpc_lookup_cred(void); | 135 | struct rpc_cred * rpc_lookup_cred(void); |
135 | struct rpc_cred * rpc_lookup_machine_cred(void); | 136 | struct rpc_cred * rpc_lookup_machine_cred(void); |