Commit 4b0ab51d authored by Trond Myklebust's avatar Trond Myklebust

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: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 79234c3d
...@@ -777,7 +777,6 @@ static void xs_sock_mark_closed(struct rpc_xprt *xprt) ...@@ -777,7 +777,6 @@ static void xs_sock_mark_closed(struct rpc_xprt *xprt)
xs_sock_reset_connection_flags(xprt); xs_sock_reset_connection_flags(xprt);
/* Mark transport as closed and wake up all pending tasks */ /* Mark transport as closed and wake up all pending tasks */
xprt_disconnect_done(xprt); xprt_disconnect_done(xprt);
xprt_force_disconnect(xprt);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment