]> err.no Git - linux-2.6/blobdiff - net/sunrpc/sunrpc_syms.c
[Bluetooth] Fix wrong argument in debug code of HIDP
[linux-2.6] / net / sunrpc / sunrpc_syms.c
index 3e19e7af6799a99c52f8b1dc7c8b8188127a21b2..33d89e842c8506ead293a7ac8460c71e8b392fb0 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/sunrpc/auth.h>
 #include <linux/workqueue.h>
 #include <linux/sunrpc/rpc_pipe_fs.h>
-
+#include <linux/sunrpc/xprtsock.h>
 
 /* RPC scheduler */
 EXPORT_SYMBOL(rpc_execute);
@@ -152,6 +152,7 @@ init_sunrpc(void)
        cache_register(&ip_map_cache);
        cache_register(&unix_gid_cache);
        init_socket_xprt();
+       rpcauth_init_module();
 out:
        return err;
 }
@@ -159,6 +160,7 @@ out:
 static void __exit
 cleanup_sunrpc(void)
 {
+       rpcauth_remove_module();
        cleanup_socket_xprt();
        unregister_rpc_pipefs();
        rpc_destroy_mempool();