Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206438
b: refs/heads/master
c: 0cd14a0
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and J. Bruce Fields committed Jul 23, 2010
1 parent 08ee920 commit ede3294
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 78a8d7c8ca3f0cb5cd2a276c6fc17c8c006d0b3c
refs/heads/master: 0cd14a061e32d4ddaadad24d86d06cc860010591
6 changes: 4 additions & 2 deletions trunk/fs/nfsd/nfsctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,9 @@ static ssize_t __write_ports_addxprt(char *buf)
PF_INET6, port, SVC_SOCK_ANONYMOUS);
if (err < 0 && err != -EAFNOSUPPORT)
goto out_close;

/* Decrease the count, but don't shut down the service */
nfsd_serv->sv_nrthreads--;
return 0;
out_close:
xprt = svc_find_xprt(nfsd_serv, transport, PF_INET, port);
Expand All @@ -1026,8 +1029,7 @@ static ssize_t __write_ports_addxprt(char *buf)
svc_xprt_put(xprt);
}
out_err:
/* Decrease the count, but don't shut down the service */
nfsd_serv->sv_nrthreads--;
svc_destroy(nfsd_serv);
return err;
}

Expand Down

0 comments on commit ede3294

Please sign in to comment.