SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Sep 2015 13:52:07 +0000 (09:52 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 19 Sep 2015 20:38:35 +0000 (16:38 -0400)
commit4b0ab51db32eba0f48b7618254742f143364a28d
tree644e6f46e2cd6b16ac9dedca34c54f8314081325
parent79234c3db6842a3de03817211d891e0c2878f756
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>
net/sunrpc/xprtsock.c