2 dnl # 2.6.38 API change
3 dnl # follow_down() renamed follow_down_one(). The original follow_down()
4 dnl # symbol still exists but will traverse down all the layers.
6 AC_DEFUN([ZFS_AC_KERNEL_FOLLOW_DOWN_ONE], [
7 AC_MSG_CHECKING([whether follow_down_one() is available])
8 ZFS_LINUX_TRY_COMPILE([
9 #include <linux/namei.h>
11 struct path *p = NULL;
15 AC_DEFINE(HAVE_FOLLOW_DOWN_ONE, 1,
16 [follow_down_one() is available])