]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6476ca21e9e28bb973f34c9ecbddcbfba8bdf0f0
treed4463802809184fa533b503cc25998f76cba8a2f
parentb384e217aeb2b8c244cb296821c1acc0a0743668
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