diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-01-28 07:46:04 +0300 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@oracle.com> | 2026-01-31 00:49:15 +0300 |
| commit | b1cb730e847d9766b7fb416e623454a5cba57dc4 (patch) | |
| tree | 0d88dbe13b36f5b75841f8e80ca25ec968c1f8f2 /include/linux | |
| parent | d37272c62a08b5fc74bedf7b560f794a84b7cdf1 (diff) | |
| download | linux-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/linux')
| -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 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 *); |
