OSDN Git Service

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)
commit0d10416797c27b9e359d4bd94fb9db6f34f25d83
tree65a65bee62260c3dd83c7b3fa508956791af9b39
parentf885ea640d65d98c8f1a326efb3abe13f1865c89
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