diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-12-10 12:19:30 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-10 16:25:35 -0500 |
commit | 3938a0d5eb5effcc89c6909741403f4e6a37252d (patch) | |
tree | 952dcc39985ba7c4d73f45cca5e281859f74876c /fs/nfsd/nfssvc.c | |
parent | d41a9417cd89a69f58a26935034b4264a2d882d6 (diff) | |
download | kernel_goldelico_gta04-3938a0d5eb5effcc89c6909741403f4e6a37252d.zip kernel_goldelico_gta04-3938a0d5eb5effcc89c6909741403f4e6a37252d.tar.gz kernel_goldelico_gta04-3938a0d5eb5effcc89c6909741403f4e6a37252d.tar.bz2 |
nfsd: pass net to nfsd_set_nrthreads()
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 f199b53..b144658 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c @@ -382,12 +382,11 @@ int nfsd_get_nrthreads(int n, int *nthreads) return 0; } -int nfsd_set_nrthreads(int n, int *nthreads) +int nfsd_set_nrthreads(int n, int *nthreads, struct net *net) { int i = 0; int tot = 0; int err = 0; - struct net *net = &init_net; WARN_ON(!mutex_is_locked(&nfsd_mutex)); |