]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Ensure that we honour autoclose before attempting to reconnect
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 13:10:17 +0000 (08:10 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 13:10:17 +0000 (08:10 -0500)
commit9213f6a79b4b0f7b29055a68210b18a9d6d76b54
treec4bb6f88ae5e303e1c316efe392b407196bf33ac
parenta3bd51081385ae70b27b40b645963b715a972743
SUNRPC: Ensure that we honour autoclose before attempting to reconnect

If the XPRT_CLOSE_WAIT flag is set, we need to ensure that we call
xprt->ops->close() while holding xprt_lock_write() before we can
start reconnecting.

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