diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-11-29 20:35:35 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-12-07 01:18:52 +0400 |
commit | 2fefb8a09e7ed251ae8996e0c69066e74c5aa560 (patch) | |
tree | 6d353a2051063f63f4667d9e2d54ec30dec91049 /include/linux/sunrpc/svcsock.h | |
parent | 7710ec36b6f516e026f9e29e50e67d2547c2a79b (diff) | |
download | linux-2fefb8a09e7ed251ae8996e0c69066e74c5aa560.tar.xz |
svcrpc: destroy server sockets all at once
There's no reason I can see that we need to call sv_shutdown between
closing the two lists of sockets.
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/svcsock.h')
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index 85c50b40759d..c84e9741cb2a 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h @@ -34,7 +34,7 @@ struct svc_sock { /* * Function prototypes. */ -void svc_close_all(struct list_head *); +void svc_close_all(struct svc_serv *); int svc_recv(struct svc_rqst *, long); int svc_send(struct svc_rqst *); void svc_drop(struct svc_rqst *); |