NFSv4: Ignore requests to return the delegation if it was revoked
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Oct 2019 17:40:47 +0000 (13:40 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:46 +0000 (21:28 -0500)
commitaf20b7b850c5786979f773ba25dab70c85914466
tree0ef13a3898df77d2d8c21ff0a0903879698e5a44
parentd51f91d262aae047ea3b1496e333a83ce70bb48a
NFSv4: Ignore requests to return the delegation if it was revoked

If the delegation was revoked, or is already being returned, just
clear the NFS_DELEGATION_RETURN and NFS_DELEGATION_RETURN_IF_CLOSED
flags and keep going.

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