From beeed4596b192f879fbb13e656cc6458ccde1193 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 14 Jan 2016 13:25:10 -0500 Subject: Linux 4.5 compat: get_link() / put_link() The follow_link() interface was retired in favor of get_link(). In the process of phasing in get_link() the Linux kernel went through two different versions. The first of which depended on put_link() and the final version on a delayed done function. - Improved configure checks for .follow_link, .get_link, .put_link. - Interfaces checked from newest to oldest. - Strict checking for each possible known interface. - Configure fails when no known interface is available. - Both versions .get_link are detected and supported as well two previous versions of .follow_link. Signed-off-by: Brian Behlendorf Signed-off-by: Tim Chase Signed-off-by: Chunwei Chen Issue #4228 --- config/kernel.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/kernel.m4') diff --git a/config/kernel.m4 b/config/kernel.m4 index 16fb017fe..f63a056e4 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -58,7 +58,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_MKDIR_UMODE_T ZFS_AC_KERNEL_LOOKUP_NAMEIDATA ZFS_AC_KERNEL_CREATE_NAMEIDATA - ZFS_AC_KERNEL_FOLLOW_LINK + ZFS_AC_KERNEL_GET_LINK ZFS_AC_KERNEL_PUT_LINK ZFS_AC_KERNEL_TRUNCATE_RANGE ZFS_AC_KERNEL_AUTOMOUNT -- cgit v1.2.3