]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 16 Oct 2022 18:44:33 +0000 (14:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 16:57:49 +0000 (17:57 +0100)
commitd4c1dde4caa55ef12d16414cab311b2258ad820a
tree11ea6cd4ff4358a133ad625e0ede82e490da07ba
parent10f350b903e8a6ed62f338e97de835acfcd47f02
NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot

[ Upstream commit 040144f1dd3a06c9676036fd4015fbb1836f2040 ]

Currently, we are only guaranteed to send RECLAIM_COMPLETE if we have
open state to recover. Fix the client to always send RECLAIM_COMPLETE
after setting up the lease.

Fixes: e88af124381c ("nfs41: RECLAIM_COMPLETE functionality")
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>
fs/nfs/nfs4state.c