diff options
author | Tom Talpey <talpey@netapp.com> | 2008-10-09 19:01:21 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-10 19:12:44 (GMT) |
commit | 926449ba66ce2a45c619bbe755b00d6bdbf0d83e (patch) | |
tree | 94bebe684f2d9c1e2954843e571cb2657e75ac05 /kernel/power | |
parent | 9191ca3b381b15b9a88785a8ae2fa4db8e553b0c (diff) | |
download | linux-926449ba66ce2a45c619bbe755b00d6bdbf0d83e.tar.xz |
RPC/RDMA: return a consistent error, when connect fails.
The xprt_connect call path does not expect such errors as ECONNREFUSED
to be returned from failed transport connection attempts, otherwise it
translates them to EIO and signals fatal errors. For example, mount.nfs
prints simply "internal error". Translate all such errors to ENOTCONN
from RPC/RDMA to match sockets behavior.
Signed-off-by: Tom Talpey <talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions