SUNRPC: RPC level errors should set task->tk_rpc_status
stable inclusion from stable-v5.10.140 commit 8be096f018e4d4a4d430c8c87c4009c7024ffb90 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I63FTT Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8be096f018e4d4a4d430c8c87c4009c7024ffb90 -------------------------------- [ Upstream commit ed06fce0 ] Fix up a case in call_encode() where we're failing to set task->tk_rpc_status when an RPC level error occurred. Fixes: 9c5948c2 ("SUNRPC: task should be exit if encode return EKEYEXPIRED more times") Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录