]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
SUNRPC: Handle the SYSTEM_ERR rpc error
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Mar 2019 14:12:30 +0000 (10:12 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Mar 2019 17:11:02 +0000 (13:11 -0400)
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>
net/sunrpc/clnt.c

index 1f47801e00022ff834f729f90c441450d1b1255d..cb73d6c25857ef17c3a96f119b32f4091c280a0b 100644 (file)
@@ -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;