SUNRPC: Ensure xprt_connect_status handles all potential connection errors
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 31 Dec 2013 18:13:30 +0000 (13:13 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 31 Dec 2013 18:42:22 +0000 (13:42 -0500)
commit0fe8d04e8c3a1eb49089793e38b60a17cee564e3
treed4463802809184fa533b503cc25998f76cba8a2f
parent23e66ba97127ff3b064d4c6c5138aa34eafc492f
SUNRPC: Ensure xprt_connect_status handles all potential connection errors

Currently, xprt_connect_status will convert connection error values such
as ECONNREFUSED, ECONNRESET, ... into EIO, which means that they never
get handled.

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