From: Trond Myklebust Date: Fri, 15 Mar 2019 14:12:30 +0000 (-0400) Subject: SUNRPC: Handle the SYSTEM_ERR rpc error X-Git-Tag: v5.15~6750^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=928d42f7d8737e1d6327e09668525f59725dabf9;p=mirror_ubuntu-kernels.git 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 --- diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 1f47801e0002..cb73d6c25857 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -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;