]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Clear NFS_DELEGATION_RETURN_IF_CLOSED when the delegation is returned
authorTrond Myklebust <trondmy@gmail.com>
Mon, 27 Jan 2020 14:58:16 +0000 (09:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commit1dc19201f54730a9aeff4db76ba53517c104ee39
tree65a65bee62260c3dd83c7b3fa508956791af9b39
parent8abc51cb34705dc60c7cab8f0052ffc2e7ecb2da
NFS: Clear NFS_DELEGATION_RETURN_IF_CLOSED when the delegation is returned

If a delegation is marked as needing to be returned when the file is
closed, then don't clear that marking until we're ready to return
it.

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