]> git.baikalelectronics.ru Git - 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)
commitce538d1a1995f2d493579573686ba226f5e2ada3
tree853347c9745ebdc14f43c4453ccbc4e087aa6a81
parentc2983acfd367093ecb07aa4082d8cd9f60baa90c
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