aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-vfs-getattr.m4
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-04 13:18:20 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commitec6ba977b7d1ab7419a0d0e9a5cfdf428a1f61a1 (patch)
tree4451d58c56c730bf9beef6c7314b0d04bf277971 /config/kernel-vfs-getattr.m4
parent6a28491f8e3770420e55c74b041bf26618963a60 (diff)
config: remove HAVE_3ARGS_VFS_GETATTR
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/kernel-vfs-getattr.m4')
-rw-r--r--config/kernel-vfs-getattr.m427
1 files changed, 0 insertions, 27 deletions
diff --git a/config/kernel-vfs-getattr.m4 b/config/kernel-vfs-getattr.m4
index eb07853cc..1923d4ce8 100644
--- a/config/kernel-vfs-getattr.m4
+++ b/config/kernel-vfs-getattr.m4
@@ -48,39 +48,12 @@ AC_DEFUN([ZFS_AC_KERNEL_VFS_GETATTR_2ARGS], [
])
])
-dnl #
-dnl # <3.9 API
-dnl # vfs_getattr(struct vfsmount *v, struct dentry *d, struct kstat *k)
-dnl #
-AC_DEFUN([ZFS_AC_KERNEL_SRC_VFS_GETATTR_3ARGS], [
- ZFS_LINUX_TEST_SRC([vfs_getattr_3args], [
- #include <linux/fs.h>
- ],[
- vfs_getattr((struct vfsmount *)NULL,
- (struct dentry *)NULL,
- (struct kstat *)NULL);
- ])
-])
-
-AC_DEFUN([ZFS_AC_KERNEL_VFS_GETATTR_3ARGS], [
- AC_MSG_CHECKING([whether vfs_getattr() wants 3 args])
- ZFS_LINUX_TEST_RESULT([vfs_getattr_3args], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_3ARGS_VFS_GETATTR, 1,
- [vfs_getattr wants 3 args])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
-
AC_DEFUN([ZFS_AC_KERNEL_SRC_VFS_GETATTR], [
ZFS_AC_KERNEL_SRC_VFS_GETATTR_4ARGS
ZFS_AC_KERNEL_SRC_VFS_GETATTR_2ARGS
- ZFS_AC_KERNEL_SRC_VFS_GETATTR_3ARGS
])
AC_DEFUN([ZFS_AC_KERNEL_VFS_GETATTR], [
ZFS_AC_KERNEL_VFS_GETATTR_4ARGS
ZFS_AC_KERNEL_VFS_GETATTR_2ARGS
- ZFS_AC_KERNEL_VFS_GETATTR_3ARGS
])