SUNRPC: xprt_autoclose() should not call xprt_disconnect()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Nov 2007 23:28:53 +0000 (18:28 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:26 +0000 (02:05 -0500)
The transport layer should do that itself whenever appropriate.

Note that the RDMA transport already assumes that it needs to call
xprt_disconnect in xprt_rdma_close().
For TCP sockets, we want to call xprt_disconnect() only after the
connection has been closed by both ends.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found