Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231128
b: refs/heads/master
c: b176331
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Nov 19, 2010
1 parent e205b42 commit df1f40d
Show file tree
Hide file tree
Showing 2 changed files with 7 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: f8c0d226fef05226ff1a85055c8ed663022f40c1
refs/heads/master: b176331627fccc726d28f4fc4a357d1f3c19dbf0
7 changes: 6 additions & 1 deletion trunk/net/sunrpc/svc_xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,12 @@ void svc_close_xprt(struct svc_xprt *xprt)
if (test_and_set_bit(XPT_BUSY, &xprt->xpt_flags))
/* someone else will have to effect the close */
return;

/*
* We expect svc_close_xprt() to work even when no threads are
* running (e.g., while configuring the server before starting
* any threads), so if the transport isn't busy, we delete
* it ourself:
*/
svc_delete_xprt(xprt);
}
EXPORT_SYMBOL_GPL(svc_close_xprt);
Expand Down

0 comments on commit df1f40d

Please sign in to comment.