diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-21 16:09:36 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-08-21 16:09:36 +1000 |
commit | 54a5bb63749b3a34c4010a6819fb2739b0aff1bd (patch) | |
tree | 368b4efa6682f46e2b95c424d1a9c895f8d74046 | |
parent | 5ad1290fd8e78a687817b858c59cf2e2357c6e15 (diff) |
SUNRPC: Ensure that sunrpc gets initialised before nfs, lockd, etc...
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>
-rw-r--r-- | net/sunrpc/sunrpc_syms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index adaa81982f74..8cce92189019 100644 --- 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); |