diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-21 08:17:56 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-21 08:17:56 -0400 |
commit | 405d8f8b1d936414da2093d4149ff790ff3f84a5 (patch) | |
tree | 1a4917f7e28b0988ba7d11c6de2db632d303401d /net/sunrpc/sunrpc_syms.c | |
parent | 4dceef96756b667360741712a8e37490f8458516 (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>
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-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) | |||
69 | rcu_barrier(); /* Wait for completion of call_rcu()'s */ | 69 | rcu_barrier(); /* Wait for completion of call_rcu()'s */ |
70 | } | 70 | } |
71 | MODULE_LICENSE("GPL"); | 71 | MODULE_LICENSE("GPL"); |
72 | module_init(init_sunrpc); | 72 | fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */ |
73 | module_exit(cleanup_sunrpc); | 73 | module_exit(cleanup_sunrpc); |