mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
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: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
eb90a16e90
commit
928d42f7d8
1 changed files with 1 additions and 0 deletions
|
@ -2497,6 +2497,7 @@ rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr)
|
|||
error = -EOPNOTSUPP;
|
||||
goto out_err;
|
||||
case rpc_garbage_args:
|
||||
case rpc_system_err:
|
||||
trace_rpc__garbage_args(task);
|
||||
error = -EIO;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue