diff options
author | 2024-06-16 21:21:36 -0400 | |
---|---|---|
committer | 2024-07-08 13:47:26 -0400 | |
commit | adb4b42d19aea91826621a8d0bac94cf2c08f8bc (patch) | |
tree | dc80867cad0e7e676cf6bfe4582bde88c5b6d024 /include/linux/nfs_xdr.h | |
parent | NFSv4: Ask for a delegation or an open stateid in OPEN (diff) | |
download | wireguard-linux-adb4b42d19aea91826621a8d0bac94cf2c08f8bc.tar.xz wireguard-linux-adb4b42d19aea91826621a8d0bac94cf2c08f8bc.zip |
Return the delegation when deleting sillyrenamed files
Add a callback to return the delegation in order to allow generic NFS
code to return the delegation when appropriate.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Lance Shelton <lance.shelton@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to '')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index af510a7ec46a..01efacae4634 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1840,6 +1840,7 @@ struct nfs_rpc_ops { struct iattr *iattr, int *); int (*have_delegation)(struct inode *, fmode_t, int); + int (*return_delegation)(struct inode *); struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *); struct nfs_client *(*init_client) (struct nfs_client *, const struct nfs_client_initdata *); |