From: Chuck Lever Date: Tue, 11 Sep 2007 22:00:47 +0000 (-0400) Subject: SUNRPC: Split another new rpcbind retry error code from EACCES X-Git-Tag: v2.6.24-rc1~1285^2~91 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=906462af4c707ba0238f3579fdb2b594c4ea29c3;p=pandora-kernel.git SUNRPC: Split another new rpcbind retry error code from EACCES Add more new error code processing to the kernel's rpcbind client and to call_bind_status() to distinguish two cases: Case 1: the remote has replied that the program/version tuple is not registered (returns EACCES) Case 2: retry with a lesser rpcbind version (rpcb now returns EPFNOSUPPORT) This change allows more specific error processing for each of these two cases. We now fail case 2 instead of retrying... it's a server configuration error not to support even rpcbind version 2. And don't expose this new error code to user land -- convert it to EIO before failing the RPC. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed