]> 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)
commit0a7c7f60c84695b208f59e02bf5f0ad3eca84c0e
tree853347c9745ebdc14f43c4453ccbc4e087aa6a81
parent4bc82682c2fcae9727c53573f6cd669fe80c3d9d
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