aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-04 13:48:12 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commit99c143a5a1f131e4ddad4b38151031eb1842755a (patch)
treec4c3f55048f649045db40cf13c39e9b3b29a03f2 /config
parented048fdc5b12ed243d1fd0293111f6802ccf573c (diff)
config: remove HAVE_FOLLOW_LINK_NAMEIDATA
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-get-link.m425
1 files changed, 1 insertions, 24 deletions
diff --git a/config/kernel-get-link.m4 b/config/kernel-get-link.m4
index 1f8f5b0c8..31c7ac623 100644
--- a/config/kernel-get-link.m4
+++ b/config/kernel-get-link.m4
@@ -32,16 +32,6 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_GET_LINK], [
.follow_link = follow_link,
};
],[])
-
- ZFS_LINUX_TEST_SRC([inode_operations_follow_link_nameidata], [
- #include <linux/fs.h>
- static void *follow_link(struct dentry *de, struct
- nameidata *nd) { return (void *)NULL; }
- static struct inode_operations
- iops __attribute__ ((unused)) = {
- .follow_link = follow_link,
- };
- ],[])
])
AC_DEFUN([ZFS_AC_KERNEL_GET_LINK], [
@@ -84,20 +74,7 @@ AC_DEFUN([ZFS_AC_KERNEL_GET_LINK], [
[iops->follow_link() cookie])
],[
AC_MSG_RESULT(no)
-
- dnl #
- dnl # 2.6.32 API
- dnl #
- AC_MSG_CHECKING(
- [whether iops->follow_link() passes nameidata])
- ZFS_LINUX_TEST_RESULT(
- [inode_operations_follow_link_nameidata],[
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_FOLLOW_LINK_NAMEIDATA, 1,
- [iops->follow_link() nameidata])
- ],[
- ZFS_LINUX_TEST_ERROR([get_link])
- ])
+ ZFS_LINUX_TEST_ERROR([get_link])
])
])
])