]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitfeb8ca37cc3d83c07fd042509ef1e176cfeb2cfa
treec4bb6f88ae5e303e1c316efe392b407196bf33ac
parent22763c5cf3690a681551162c15d34d935308c8d7
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