Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347725
b: refs/heads/master
c: 88c4766
h: refs/heads/master
i:
  347723: 64c9de7
v: v3
  • Loading branch information
Stanislav Kinsbursky authored and J. Bruce Fields committed Dec 10, 2012
1 parent 5df1af3 commit 5aa6b5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 541e864f00d0062c98c1e743265b0a60cada3755
refs/heads/master: 88c47666171989ed4c5b1a5687df09511e8c5e35
4 changes: 3 additions & 1 deletion trunk/fs/nfsd/nfssvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ static int
nfsd(void *vrqstp)
{
struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp;
struct svc_xprt *perm_sock = list_entry(rqstp->rq_server->sv_permsocks.next, typeof(struct svc_xprt), xpt_list);
struct net *net = perm_sock->xpt_net;
int err;

/* Lock module and set up kernel thread */
Expand Down Expand Up @@ -605,7 +607,7 @@ nfsd(void *vrqstp)
/* Release the thread */
svc_exit_thread(rqstp);

nfsd_destroy(&init_net);
nfsd_destroy(net);

/* Release module */
mutex_unlock(&nfsd_mutex);
Expand Down

0 comments on commit 5aa6b5b

Please sign in to comment.