]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/sunrpc/sunrpc_syms.c
Merge branch 'alpm' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
[mv-sheeva.git] / net / sunrpc / sunrpc_syms.c
index b99b11b11461fcffe8b3cad99d0ee20da9108b0e..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);
@@ -57,7 +57,7 @@ EXPORT_SYMBOL(rpcauth_unregister);
 EXPORT_SYMBOL(rpcauth_create);
 EXPORT_SYMBOL(rpcauth_lookupcred);
 EXPORT_SYMBOL(rpcauth_lookup_credcache);
-EXPORT_SYMBOL(rpcauth_free_credcache);
+EXPORT_SYMBOL(rpcauth_destroy_credcache);
 EXPORT_SYMBOL(rpcauth_init_credcache);
 EXPORT_SYMBOL(put_rpccred);
 
@@ -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();