NFSv4.1: if referring calls are complete, trust the stateid argument
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 15 Nov 2023 18:55:28 +0000 (13:55 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 4 Jan 2024 15:47:56 +0000 (10:47 -0500)
commitdce72920c81b7e2ee6e0c9b2fde8762160b9992a
tree81278f15b26169a2ad3be26f6fa5d71aae9d632e
parente3fd54e7dc5a7f3fb7bb7c33bee1361ca0c36ed3
NFSv4.1: if referring calls are complete, trust the stateid argument

If the server is recalling a layout, and sends us a list of referring
calls that we can see are complete, then we should just trust that the
stateid argument is correct, even if the sequence id doesn't match the
one we hold.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/callback_proc.c