projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[powerpc.git]
/
net
/
sunrpc
/
sunrpc_syms.c
diff --git
a/net/sunrpc/sunrpc_syms.c
b/net/sunrpc/sunrpc_syms.c
index
62a0734
..
2387e7b
100644
(file)
--- a/
net/sunrpc/sunrpc_syms.c
+++ b/
net/sunrpc/sunrpc_syms.c
@@
-10,7
+10,6
@@
#include <linux/module.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/types.h>
-#include <linux/socket.h>
#include <linux/sched.h>
#include <linux/uio.h>
#include <linux/unistd.h>
#include <linux/sched.h>
#include <linux/uio.h>
#include <linux/unistd.h>
@@
-176,8
+175,10
@@
cleanup_sunrpc(void)
{
unregister_rpc_pipefs();
rpc_destroy_mempool();
{
unregister_rpc_pipefs();
rpc_destroy_mempool();
- cache_unregister(&auth_domain_cache);
- cache_unregister(&ip_map_cache);
+ if (cache_unregister(&auth_domain_cache))
+ printk(KERN_ERR "sunrpc: failed to unregister auth_domain cache\n");
+ if (cache_unregister(&ip_map_cache))
+ printk(KERN_ERR "sunrpc: failed to unregister ip_map cache\n");
#ifdef RPC_DEBUG
rpc_unregister_sysctl();
#endif
#ifdef RPC_DEBUG
rpc_unregister_sysctl();
#endif