diff options
author | 2024-06-16 21:21:24 -0400 | |
---|---|---|
committer | 2024-07-08 13:47:25 -0400 | |
commit | 4201916f2ab13577d45876f4bc784be55e4a83da (patch) | |
tree | 7ecb110880a8181abfadd94e2edafe634e7c866f /include/linux/nfs_xdr.h | |
parent | NFSv4: Add CB_GETATTR support for delegated attributes (diff) | |
download | wireguard-linux-4201916f2ab13577d45876f4bc784be55e4a83da.tar.xz wireguard-linux-4201916f2ab13577d45876f4bc784be55e4a83da.zip |
NFSv4: Add a flags argument to the 'have_delegation' callback
This argument will be used to allow the caller to specify whether or not
they need to know that this is an attribute delegation.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index f40be64ce942..51611583af51 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1830,7 +1830,7 @@ struct nfs_rpc_ops { int open_flags, struct iattr *iattr, int *); - int (*have_delegation)(struct inode *, fmode_t); + int (*have_delegation)(struct inode *, fmode_t, int); struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *); struct nfs_client *(*init_client) (struct nfs_client *, const struct nfs_client_initdata *); |