projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dceef9
)
SUNRPC: Ensure that sunrpc gets initialised before nfs, lockd, etc...
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 21 Aug 2009 12:17:56 +0000
(08:17 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 21 Aug 2009 12:17:56 +0000
(08:17 -0400)
We can oops if rpc_pipefs isn't properly initialised before we start to set
up objects that depend upon it.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sunrpc_syms.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/sunrpc_syms.c
b/net/sunrpc/sunrpc_syms.c
index adaa81982f7469a31c0aa4af418ea74014312f9e..8cce92189019c7e8d73cc874820a88187067de22 100644
(file)
--- a/
net/sunrpc/sunrpc_syms.c
+++ b/
net/sunrpc/sunrpc_syms.c
@@
-69,5
+69,5
@@
cleanup_sunrpc(void)
rcu_barrier(); /* Wait for completion of call_rcu()'s */
}
MODULE_LICENSE("GPL");
-module_init(init_sunrpc);
+fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */
module_exit(cleanup_sunrpc);