diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2010-03-08 07:49:01 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-03-08 20:05:57 +0100 |
commit | 5fe46e9d733f19a880ef7e516002bd4c2b833e14 (patch) | |
tree | e63ececb8fa5100b3f2514b0d2e9702086ccd101 /fs/nfs | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio-console (diff) | |
download | linux-5fe46e9d733f19a880ef7e516002bd4c2b833e14.tar.xz linux-5fe46e9d733f19a880ef7e516002bd4c2b833e14.zip |
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 'fs/nfs')
0 files changed, 0 insertions, 0 deletions