aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-03 13:28:29 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:49 -0700
commitcf006e349647f3263435e263071eb84f027d504d (patch)
tree4228c514ae1c5b968c7bd1910abc6359d6300bc3 /config
parent7af642af4dc106ff6b0f6129cf98a250e14f5902 (diff)
config: remove HAVE_GENERIC_WRITE_CHECKS_KIOCB
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 'config')
-rw-r--r--config/kernel-vfs-rw-iterate.m424
-rw-r--r--config/kernel.m42
2 files changed, 0 insertions, 26 deletions
diff --git a/config/kernel-vfs-rw-iterate.m4 b/config/kernel-vfs-rw-iterate.m4
index cb20ed030..7c568e94f 100644
--- a/config/kernel-vfs-rw-iterate.m4
+++ b/config/kernel-vfs-rw-iterate.m4
@@ -54,27 +54,3 @@ AC_DEFUN([ZFS_AC_KERNEL_VFS_RW_ITERATE], [
AC_MSG_RESULT(no)
])
])
-
-dnl #
-dnl # Linux 4.1.x API
-dnl #
-AC_DEFUN([ZFS_AC_KERNEL_SRC_VFS_GENERIC_WRITE_CHECKS], [
- ZFS_LINUX_TEST_SRC([generic_write_checks], [
- #include <linux/fs.h>
- ],[
- struct kiocb *iocb = NULL;
- struct iov_iter *iov = NULL;
- generic_write_checks(iocb, iov);
- ])
-])
-
-AC_DEFUN([ZFS_AC_KERNEL_VFS_GENERIC_WRITE_CHECKS], [
- AC_MSG_CHECKING([whether generic_write_checks() takes kiocb])
- ZFS_LINUX_TEST_RESULT([generic_write_checks], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_GENERIC_WRITE_CHECKS_KIOCB, 1,
- [generic_write_checks() takes kiocb])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
diff --git a/config/kernel.m4 b/config/kernel.m4
index d75c2915d..f9c98c818 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -106,7 +106,6 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_SRC], [
ZFS_AC_KERNEL_SRC_VFS_READPAGES
ZFS_AC_KERNEL_SRC_VFS_SET_PAGE_DIRTY_NOBUFFERS
ZFS_AC_KERNEL_SRC_VFS_RW_ITERATE
- ZFS_AC_KERNEL_SRC_VFS_GENERIC_WRITE_CHECKS
ZFS_AC_KERNEL_SRC_VFS_IOV_ITER
ZFS_AC_KERNEL_SRC_VFS_COPY_FILE_RANGE
ZFS_AC_KERNEL_SRC_VFS_GENERIC_COPY_FILE_RANGE
@@ -251,7 +250,6 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_RESULT], [
ZFS_AC_KERNEL_VFS_READPAGES
ZFS_AC_KERNEL_VFS_SET_PAGE_DIRTY_NOBUFFERS
ZFS_AC_KERNEL_VFS_RW_ITERATE
- ZFS_AC_KERNEL_VFS_GENERIC_WRITE_CHECKS
ZFS_AC_KERNEL_VFS_IOV_ITER
ZFS_AC_KERNEL_VFS_COPY_FILE_RANGE
ZFS_AC_KERNEL_VFS_GENERIC_COPY_FILE_RANGE