diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-18 09:52:07 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-19 16:38:35 -0400 |
commit | 4b0ab51db32eba0f48b7618254742f143364a28d (patch) | |
tree | 644e6f46e2cd6b16ac9dedca34c54f8314081325 /net | |
parent | 79234c3db6842a3de03817211d891e0c2878f756 (diff) | |
download | op-kernel-dev-4b0ab51db32eba0f48b7618254742f143364a28d.zip op-kernel-dev-4b0ab51db32eba0f48b7618254742f143364a28d.tar.gz |
SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose
Under all conditions, it should be quite sufficient just to mark
the socket as disconnected. It will then be closed by the
transport shutdown or reconnect code.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprtsock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index c350385..1a85e0e 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -777,7 +777,6 @@ static void xs_sock_mark_closed(struct rpc_xprt *xprt) xs_sock_reset_connection_flags(xprt); /* Mark transport as closed and wake up all pending tasks */ xprt_disconnect_done(xprt); - xprt_force_disconnect(xprt); } /** |