aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sunrpc_syms.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-06-25 17:11:20 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-10 23:40:36 -0400
commitf5c2187cfef628784d8a09b6d0f77888246d0c0f (patch)
tree8c648bb9210ea3bd24e6c5fe278951e47ff15faa /net/sunrpc/sunrpc_syms.c
parent9499b4341b56935f61af9e7e354e7d11e70f5258 (diff)
SUNRPC: Convert the credential garbage collector into a shrinker callback
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-rw-r--r--net/sunrpc/sunrpc_syms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index 018065fca84b..384c4ad5ab86 100644
--- a/net/sunrpc/sunrpc_syms.c
+++ b/net/sunrpc/sunrpc_syms.c
@@ -152,7 +152,7 @@ init_sunrpc(void)
152 cache_register(&ip_map_cache); 152 cache_register(&ip_map_cache);
153 cache_register(&unix_gid_cache); 153 cache_register(&unix_gid_cache);
154 init_socket_xprt(); 154 init_socket_xprt();
155 rpc_init_authunix(); 155 rpcauth_init_module();
156out: 156out:
157 return err; 157 return err;
158} 158}
@@ -160,6 +160,7 @@ out:
160static void __exit 160static void __exit
161cleanup_sunrpc(void) 161cleanup_sunrpc(void)
162{ 162{
163 rpcauth_remove_module();
163 cleanup_socket_xprt(); 164 cleanup_socket_xprt();
164 unregister_rpc_pipefs(); 165 unregister_rpc_pipefs();
165 rpc_destroy_mempool(); 166 rpc_destroy_mempool();