diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-08-04 14:48:54 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-08-04 14:50:30 +1000 |
commit | 052b8faf081344a61c47150f665e882a1e7764c2 (patch) | |
tree | 1a49097aad6661d0d6ca31675e9131e7c7261441 | |
parent | 7bd1b090dfe21fa0c9165cfae5abbc9954fd31de (diff) |
nfs: remove __exit from rpc_destroy_authunix
since it is referenced from an __init function.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | include/linux/sunrpc/auth.h | 2 | ||||
-rw-r--r-- | net/sunrpc/auth_unix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index d9d1402afdc7..652f2dac71ef 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h @@ -124,7 +124,7 @@ int __init rpc_init_generic_auth(void); int __init rpcauth_init_module(void); void __exit rpcauth_remove_module(void); void __exit rpc_destroy_generic_auth(void); -void __exit rpc_destroy_authunix(void); +void rpc_destroy_authunix(void); struct rpc_cred * rpc_lookup_cred(void); struct rpc_cred * rpc_lookup_machine_cred(void); diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index 6385af769806..4cb70dc6e7ad 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c @@ -207,7 +207,7 @@ int __init rpc_init_authunix(void) return rpcauth_init_credcache(&unix_auth); } -void __exit rpc_destroy_authunix(void) +void rpc_destroy_authunix(void) { rpcauth_destroy_credcache(&unix_auth); } |