]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:38 +0000 (04:26 -0400)
commit3b973886779bd12bd7742693b0cb4ce70fa4aa6f
tree2e22bdb875e75c92b640449dd914d2ac2cae6ea7
parent14a818b017b85307815fe8235eca81d421aeea8f
SUNRPC: RPC level errors should always set task->tk_rpc_status

BugLink: https://bugs.launchpad.net/bugs/1848039
[ Upstream commit 714fbc73888f59321854e7f6c2f224213923bcad ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
net/sunrpc/clnt.c
net/sunrpc/sched.c