Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347724
b: refs/heads/master
c: 541e864
h: refs/heads/master
v: v3
  • Loading branch information
Stanislav Kinsbursky authored and J. Bruce Fields committed Dec 10, 2012
1 parent 64c9de7 commit 5df1af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4539f14981ce02d48b212786a41c8bcfb62851b4
refs/heads/master: 541e864f00d0062c98c1e743265b0a60cada3755
9 changes: 2 additions & 7 deletions trunk/fs/nfsd/nfssvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static void nfsd_shutdown_net(struct net *net)
nfsd_shutdown_generic();
}

static void nfsd_shutdown(struct net *net)
static void nfsd_last_thread(struct svc_serv *serv, struct net *net)
{
struct nfsd_net *nn = net_generic(net, nfsd_net_id);

Expand All @@ -294,11 +294,6 @@ static void nfsd_shutdown(struct net *net)
if (!nn->nfsd_net_up)
return;
nfsd_shutdown_net(net);
}

static void nfsd_last_thread(struct svc_serv *serv, struct net *net)
{
nfsd_shutdown(net);

svc_rpcb_cleanup(serv, net);

Expand Down Expand Up @@ -530,7 +525,7 @@ nfsd_svc(int nrservs, struct net *net)
error = nn->nfsd_serv->sv_nrthreads - 1;
out_shutdown:
if (error < 0 && !nfsd_up_before)
nfsd_shutdown(net);
nfsd_shutdown_net(net);
out_destroy:
nfsd_destroy(net); /* Release server */
out:
Expand Down

0 comments on commit 5df1af3

Please sign in to comment.