commit | 5fe46e9d733f19a880ef7e516002bd4c2b833e14 | [log] [tgz] |
---|---|---|
author | Bian Naimeng <biannm@cn.fujitsu.com> | Mon Mar 08 14:49:01 2010 +0800 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Mar 08 14:05:57 2010 -0500 |
tree | e63ececb8fa5100b3f2514b0d2e9702086ccd101 | |
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>