From e39174ed56acd418ef744d43876fc8cf6e9823ab Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 2 Oct 2014 12:59:38 -0400 Subject: [PATCH] Add vfs_unlink() and vfs_rename() comments Just for consistency with the other autoconf checks a small comment block was added before these checks. Signed-off-by: Brian Behlendorf --- config/spl-build.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/spl-build.m4 b/config/spl-build.m4 index dfa22aa85..1eda1772a 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -1011,6 +1011,10 @@ AC_DEFUN([SPL_AC_SET_FS_PWD_WITH_CONST], EXTRA_KCFLAGS="$tmp_flags" ]) +dnl # +dnl # 3.13 API change +dnl # vfs_unlink() updated to take a third delegated_inode argument. +dnl # AC_DEFUN([SPL_AC_2ARGS_VFS_UNLINK], [AC_MSG_CHECKING([whether vfs_unlink() wants 2 args]) SPL_LINUX_TRY_COMPILE([ @@ -1045,6 +1049,10 @@ AC_DEFUN([SPL_AC_2ARGS_VFS_UNLINK], ]) ]) +dnl # +dnl # 3.13 and 3.15 API changes +dnl # Added delegated inode and flags argument. +dnl # AC_DEFUN([SPL_AC_4ARGS_VFS_RENAME], [AC_MSG_CHECKING([whether vfs_rename() wants 4 args]) SPL_LINUX_TRY_COMPILE([ -- 2.40.0