Commit 70c53075 authored by Vasily Averin's avatar Vasily Averin Committed by Chuck Lever

nfsd: removed unused argument in nfsd_startup_generic()

Since commit 501cb184 ("nfsd: rip out the raparms cache")
nrservs is not used in nfsd_startup_generic()
Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 363f8dd5
...@@ -308,7 +308,7 @@ static int nfsd_init_socks(struct net *net, const struct cred *cred) ...@@ -308,7 +308,7 @@ static int nfsd_init_socks(struct net *net, const struct cred *cred)
static int nfsd_users = 0; static int nfsd_users = 0;
static int nfsd_startup_generic(int nrservs) static int nfsd_startup_generic(void)
{ {
int ret; int ret;
...@@ -374,7 +374,7 @@ void nfsd_reset_boot_verifier(struct nfsd_net *nn) ...@@ -374,7 +374,7 @@ void nfsd_reset_boot_verifier(struct nfsd_net *nn)
write_sequnlock(&nn->boot_lock); write_sequnlock(&nn->boot_lock);
} }
static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cred) static int nfsd_startup_net(struct net *net, const struct cred *cred)
{ {
struct nfsd_net *nn = net_generic(net, nfsd_net_id); struct nfsd_net *nn = net_generic(net, nfsd_net_id);
int ret; int ret;
...@@ -382,7 +382,7 @@ static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cre ...@@ -382,7 +382,7 @@ static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cre
if (nn->nfsd_net_up) if (nn->nfsd_net_up)
return 0; return 0;
ret = nfsd_startup_generic(nrservs); ret = nfsd_startup_generic();
if (ret) if (ret)
return ret; return ret;
ret = nfsd_init_socks(net, cred); ret = nfsd_init_socks(net, cred);
...@@ -790,7 +790,7 @@ nfsd_svc(int nrservs, struct net *net, const struct cred *cred) ...@@ -790,7 +790,7 @@ nfsd_svc(int nrservs, struct net *net, const struct cred *cred)
nfsd_up_before = nn->nfsd_net_up; nfsd_up_before = nn->nfsd_net_up;
error = nfsd_startup_net(nrservs, net, cred); error = nfsd_startup_net(net, cred);
if (error) if (error)
goto out_destroy; goto out_destroy;
error = nn->nfsd_serv->sv_ops->svo_setup(nn->nfsd_serv, error = nn->nfsd_serv->sv_ops->svo_setup(nn->nfsd_serv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment