diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2010-03-08 14:49:01 +0800 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-03-08 14:05:57 -0500 |
commit | 5fe46e9d733f19a880ef7e516002bd4c2b833e14 (patch) | |
tree | e63ececb8fa5100b3f2514b0d2e9702086ccd101 /ipc/msg.c | |
parent | 25cf84cf377c0aae5dbcf937ea89bc7893db5176 (diff) |
rpc client can not deal with ENOSOCK, so translate it into ENOCONN
If NFSv4 client send a request before connect, or the old connection was broken
because a ETIMEOUT error catched by call_status, ->send_request will return
ENOSOCK, but rpc layer can not deal with it, so make sure ->send_request can
translate ENOSOCK into ENOCONN.
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions