diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-03-29 22:48:33 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-01 07:17:16 +0200 |
commit | 00a6e7bbf990e3a5e59a9a1e6a68e99c94fe001c (patch) | |
tree | fb0427a8b08702c99bf5eba9c6d5bb16ea4ee2bc /net | |
parent | SUNRPC: remove old portmapper (diff) | |
download | linux-00a6e7bbf990e3a5e59a9a1e6a68e99c94fe001c.tar.xz linux-00a6e7bbf990e3a5e59a9a1e6a68e99c94fe001c.zip |
SUNRPC: RPC client should retry with different versions of rpcbind
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/clnt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index e7dc09ecc470..d8fbee40a19c 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -902,9 +902,11 @@ call_bind_status(struct rpc_task *task) task->tk_pid); break; case -EPROTONOSUPPORT: - dprintk("RPC: %5u remote rpcbind version 2 unavailable\n", + dprintk("RPC: %5u remote rpcbind version unavailable, retrying\n", task->tk_pid); - break; + task->tk_status = 0; + task->tk_action = call_bind; + return; default: dprintk("RPC: %5u unrecognized rpcbind error (%d)\n", task->tk_pid, -task->tk_status); |