]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[PATCH] RPC: Report connection errors properly when mounting with "soft"
authorChuck Lever <cel@citi.umich.edu>
Thu, 11 Aug 2005 20:25:08 +0000 (16:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:03 +0000 (12:38 -0400)
commit23475d66bd8600e0c5353f86c1b74f68df27bdb5
tree040565dacc08e99a86e2dd716b348f74e12e08db
parent9aa48b7e270d13c8781414dce081a42cae20a80d
[PATCH] RPC: Report connection errors properly when mounting with "soft"

 Fix up xprt_connect_status: the soft timeout logic was clobbering tk_status,
 so TCP connect errors were not properly reported on soft mounts.

 Test-plan:
 Destructive testing (unplugging the network temporarily).  Connectathon
 with UDP and TCP.

 Version: Thu, 11 Aug 2005 16:01:28 -0400

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