]> 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)
commitbb2a4da4d77c6b33c1342609f45ca1534c582c36
tree11ea6cd4ff4358a133ad625e0ede82e490da07ba
parentcec44a375356538d86dd236c1280d931696ca831
NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot

[ Upstream commit dd603a89e30debd4d63edf4088e01941dab5ec2c ]

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