diff options
author | Brian Behlendorf <[email protected]> | 2016-01-14 13:25:10 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-01-20 11:36:00 -0800 |
commit | beeed4596b192f879fbb13e656cc6458ccde1193 (patch) | |
tree | 83fbf5e22dc10bccbd9034e9b16c787cbe4e23b8 /config/kernel.m4 | |
parent | bc89ac8479c0b265c539b579fda2bef1997d423c (diff) |
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 <[email protected]>
Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Issue #4228
Diffstat (limited to 'config/kernel.m4')
-rw-r--r-- | config/kernel.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |