Commit 928d42f7 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Handle the SYSTEM_ERR rpc error

Handle the SYSTEM_ERR rpc error by retrying the RPC call as if it
were a garbage argument.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent eb90a16e
...@@ -2497,6 +2497,7 @@ rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr) ...@@ -2497,6 +2497,7 @@ rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr)
error = -EOPNOTSUPP; error = -EOPNOTSUPP;
goto out_err; goto out_err;
case rpc_garbage_args: case rpc_garbage_args:
case rpc_system_err:
trace_rpc__garbage_args(task); trace_rpc__garbage_args(task);
error = -EIO; error = -EIO;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment