]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - net/sunrpc/sched.c
SUNRPC: RPC level errors should always set task->tk_rpc_status
authorTrond Myklebust <trondmy@gmail.com>
Thu, 12 Sep 2019 12:06:51 +0000 (08:06 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 Sep 2019 19:14:11 +0000 (15:14 -0400)
commit714fbc73888f59321854e7f6c2f224213923bcad
tree724008630b5f11c8325728a19a2baa1e30917e78
parent45835a63d039fc3bfb1d6c72cedaf785cd920e4a
SUNRPC: RPC level errors should always set task->tk_rpc_status

Ensure that we set task->tk_rpc_status for all RPC level errors so that
the caller can distinguish between those and server reply status errors.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c
net/sunrpc/sched.c