From: Bian Naimeng Date: Mon, 8 Mar 2010 06:49:01 +0000 (+0800) Subject: rpc client can not deal with ENOSOCK, so translate it into ENOCONN X-Git-Tag: v2.6.34-rc2~22^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fe46e9d733f19a880ef7e516002bd4c2b833e14;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed