]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nfs: initiate returning delegation when reclaiming one that's been recalled
authorJeff Layton <jlayton@kernel.org>
Thu, 5 Jul 2018 09:48:14 +0000 (05:48 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 30 Jul 2018 17:19:40 +0000 (13:19 -0400)
commit8b199e58d49beaae33eaf11b68b7183eb28f1681
tree853347c9745ebdc14f43c4453ccbc4e087aa6a81
parent01a368441ff1c93a16fc69e147c5787da7798d38
nfs: initiate returning delegation when reclaiming one that's been recalled

When reclaiming a delegation via CLAIM_PREVIOUS open, the server can
indicate that the delegation has been recalled since it was issued by
setting the "recalled" flag in the delegation.

Ensure that we respect the flag by initiating a delegation return when
it is set.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c