diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-03-15 10:12:30 -0400 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-03-15 13:11:02 -0400 |
| commit | 928d42f7d8737e1d6327e09668525f59725dabf9 (patch) | |
| tree | 9fba57e59326033fcb58f1d5798537790afea4a8 | |
| parent | eb90a16e9087063943859ae99bbdddd1fbfcf477 (diff) | |
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>
| -rw-r--r-- | net/sunrpc/clnt.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
| 2497 | error = -EOPNOTSUPP; | 2497 | error = -EOPNOTSUPP; |
| 2498 | goto out_err; | 2498 | goto out_err; |
| 2499 | case rpc_garbage_args: | 2499 | case rpc_garbage_args: |
| 2500 | case rpc_system_err: | ||
| 2500 | trace_rpc__garbage_args(task); | 2501 | trace_rpc__garbage_args(task); |
| 2501 | error = -EIO; | 2502 | error = -EIO; |
| 2502 | break; | 2503 | break; |
