diff options
author | 2012-12-10 12:19:25 +0300 | |
---|---|---|
committer | 2012-12-10 16:25:34 -0500 | |
commit | d41a9417cd89a69f58a26935034b4264a2d882d6 (patch) | |
tree | 5de0008b23f22d0990211a5bc98833dad5a1d61e /fs/nfsd/nfssvc.c | |
parent | nfsd: pass net to nfsd_create_serv() (diff) | |
download | linux-d41a9417cd89a69f58a26935034b4264a2d882d6.tar.gz linux-d41a9417cd89a69f58a26935034b4264a2d882d6.tar.bz2 linux-d41a9417cd89a69f58a26935034b4264a2d882d6.zip |
nfsd: pass net to nfsd_svc()
Precursor patch. Hard-coded "init_net" will be replaced by proper one in
future.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfssvc.c')
-rw-r--r-- | fs/nfsd/nfssvc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 6448391cde54..f199b537cc81 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c @@ -442,11 +442,10 @@ int nfsd_set_nrthreads(int n, int *nthreads) * this is the first time nrservs is nonzero. */ int -nfsd_svc(int nrservs) +nfsd_svc(int nrservs, struct net *net) { int error; bool nfsd_up_before; - struct net *net = &init_net; mutex_lock(&nfsd_mutex); dprintk("nfsd: creating service\n"); |