Skip to content

Commit 928d42f

Browse files
author
Trond Myklebust
committed
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>
1 parent eb90a16 commit 928d42f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sunrpc/clnt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,6 +2497,7 @@ rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr)
24972497
error = -EOPNOTSUPP;
24982498
goto out_err;
24992499
case rpc_garbage_args:
2500+
case rpc_system_err:
25002501
trace_rpc__garbage_args(task);
25012502
error = -EIO;
25022503
break;

0 commit comments

Comments
 (0)