SUNRPC: Make call_status()/call_decode() call xprt_force_disconnect()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Nov 2007 23:40:12 +0000 (18:40 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:26 +0000 (02:05 -0500)
commit3ebb067d92ebe5bcfd282acf12bade891d334d07
tree99da8250d23887b8573dbeddae76ceb392c0663b
parent7272dcd31d56580dee7693c21e369fd167e137fe
SUNRPC: Make call_status()/call_decode() call xprt_force_disconnect()

Move the calls to xprt_disconnect() over to xprt_force_disconnect() in
order to enable the transport layer to manage the state of the
XPRT_CONNECTED flag.
Ditto in xs_tcp_read_fraghdr().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
net/sunrpc/xprtsock.c