summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-28 07:46:04 +0300
committerAnna Schumaker <anna.schumaker@oracle.com>2026-01-31 00:49:15 +0300
commitb1cb730e847d9766b7fb416e623454a5cba57dc4 (patch)
tree0d88dbe13b36f5b75841f8e80ca25ec968c1f8f2 /include
parentd37272c62a08b5fc74bedf7b560f794a84b7cdf1 (diff)
downloadlinux-b1cb730e847d9766b7fb416e623454a5cba57dc4.tar.xz
NFS: return void from ->return_delegation
The caller doesn't check the return value, so drop it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 437e6f4af7e0..ff1f12aa73d2 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1846,7 +1846,7 @@ struct nfs_rpc_ops {
struct iattr *iattr,
int *);
int (*have_delegation)(struct inode *, fmode_t, int);
- int (*return_delegation)(struct inode *);
+ void (*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 *);