Commit 99424902 authored by Trond Myklebust's avatar Trond Myklebust Committed by openeuler-sync-bot
Browse files

NFSv4.1: Handle RECLAIM_COMPLETE trunking errors

stable inclusion
from stable-v5.10.154
commit 10c554d7227580f905ec675c32bcfa2132ed087f
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=10c554d7227580f905ec675c32bcfa2132ed087f



--------------------------------

[ Upstream commit 5d917cba ]

If RECLAIM_COMPLETE sets the NFS4CLNT_BIND_CONN_TO_SESSION flag, then we
need to loop back in order to handle it.

Fixes: 0048fdd0 ("NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
(cherry picked from commit 0bcc4518)
parent 69a4e3d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment