Skip to content

Commit

Permalink
SUNRPC: Ensure that sunrpc gets initialised before nfs, lockd, etc...
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Aug 21, 2009
1 parent 4dceef9 commit 405d8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/sunrpc_syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 405d8f8

Please sign in to comment.