NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 13 Mar 2023 22:45:53 +0000 (18:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:34 +0000 (23:03 +0900)
commitc49a8c5c8b9169d7aba9e2a88152c0c379cc64aa
tree92bd62f4ae95250dcbed4a6a40b2239e697854ff
parent9b75bd4eef4fdb0de263dccd18b0ebca35a50a25
NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease

[ Upstream commit 40882deb83c29d8df4470d4e5e7f137b6acf7ad1 ]

The spec requires that we always at least send a RECLAIM_COMPLETE when
we're done establishing the lease and recovering any state.

Fixes: fce5c838e133 ("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