]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 4.5 compat: get_link() / put_link()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 14 Jan 2016 18:25:10 +0000 (13:25 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Jan 2016 19:36:00 +0000 (11:36 -0800)
commitbeeed4596b192f879fbb13e656cc6458ccde1193
tree83fbf5e22dc10bccbd9034e9b16c787cbe4e23b8
parentbc89ac8479c0b265c539b579fda2bef1997d423c
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 <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Issue #4228
config/kernel-follow-link-nameidata.m4 [deleted file]
config/kernel-get-link.m4 [new file with mode: 0644]
config/kernel-put-link-nameidata.m4 [deleted file]
config/kernel-put-link.m4 [new file with mode: 0644]
config/kernel.m4
module/zfs/zpl_inode.c