diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-10-21 14:22:14 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-11-03 21:28:46 -0500 |
commit | d51f91d262aae047ea3b1496e333a83ce70bb48a (patch) | |
tree | 44aad6ad90239d2925683dc087c7b71368708c5e /fs/nfs/delegation.h | |
parent | f2d47b5502054749b278cdaf9cb9a60415cf884a (diff) | |
download | lwn-d51f91d262aae047ea3b1496e333a83ce70bb48a.tar.gz lwn-d51f91d262aae047ea3b1496e333a83ce70bb48a.zip |
NFSv4: Revoke the delegation on success in nfs4_delegreturn_done()
If the delegation was successfully returned, then mark it as revoked.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/delegation.h')
-rw-r--r-- | fs/nfs/delegation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h index 74b7fb601365..15d3484be028 100644 --- a/fs/nfs/delegation.h +++ b/fs/nfs/delegation.h @@ -53,6 +53,7 @@ void nfs_expire_unreferenced_delegations(struct nfs_client *clp); int nfs_client_return_marked_delegations(struct nfs_client *clp); int nfs_delegations_present(struct nfs_client *clp); void nfs_remove_bad_delegation(struct inode *inode, const nfs4_stateid *stateid); +void nfs_delegation_mark_returned(struct inode *inode, const nfs4_stateid *stateid); void nfs_delegation_mark_reclaim(struct nfs_client *clp); void nfs_delegation_reap_unclaimed(struct nfs_client *clp); |