]> git.proxmox.com Git - mirror_zfs.git/blame - config/kernel-follow-down-one.m4
Linux 6.3 compat: idmapped mount API changes
[mirror_zfs.git] / config / kernel-follow-down-one.m4
CommitLineData
278bee93
BB
1dnl #
2dnl # 2.6.38 API change
3dnl # follow_down() renamed follow_down_one(). The original follow_down()
4dnl # symbol still exists but will traverse down all the layers.
5dnl #
608f8749
BB
6AC_DEFUN([ZFS_AC_KERNEL_SRC_FOLLOW_DOWN_ONE], [
7 ZFS_LINUX_TEST_SRC([follow_down_one], [
278bee93
BB
8 #include <linux/namei.h>
9 ],[
10 struct path *p = NULL;
11 follow_down_one(p);
608f8749
BB
12 ])
13])
14
15AC_DEFUN([ZFS_AC_KERNEL_FOLLOW_DOWN_ONE], [
16 AC_MSG_CHECKING([whether follow_down_one() is available])
17 ZFS_LINUX_TEST_RESULT([follow_down_one], [
278bee93 18 AC_MSG_RESULT(yes)
278bee93 19 ],[
066e8252 20 ZFS_LINUX_TEST_ERROR([follow_down_one()])
278bee93
BB
21 ])
22])