aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-04 14:34:02 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commita987057c67ac5423549bf6bb7849879fe3fb6329 (patch)
tree2243c4315698ebc015545582e66aea080ac3da1c /module
parentc9e8d0e0b53b0b0e5c5d51dfe2e5d47ee7ee5336 (diff)
config: remove HAVE_VFS_DIRECT_IO_ITER_RW_OFFSET
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'module')
-rw-r--r--module/os/linux/zfs/zpl_file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/module/os/linux/zfs/zpl_file.c b/module/os/linux/zfs/zpl_file.c
index 0c9e6f94e..7eb73f2d5 100644
--- a/module/os/linux/zfs/zpl_file.c
+++ b/module/os/linux/zfs/zpl_file.c
@@ -365,12 +365,6 @@ zpl_direct_IO(struct kiocb *kiocb, struct iov_iter *iter, loff_t pos)
{
return (zpl_direct_IO_impl());
}
-#elif defined(HAVE_VFS_DIRECT_IO_ITER_RW_OFFSET)
-static ssize_t
-zpl_direct_IO(int rw, struct kiocb *kiocb, struct iov_iter *iter, loff_t pos)
-{
- return (zpl_direct_IO_impl());
-}
#else
#error "Unknown Direct I/O interface"
#endif