2 dnl # 2.6.28 API change
3 dnl # Added insert_inode_locked() helper function.
5 AC_DEFUN([ZFS_AC_KERNEL_INSERT_INODE_LOCKED],
6 [AC_MSG_CHECKING([whether insert_inode_locked() is available])
7 ZFS_LINUX_TRY_COMPILE_SYMBOL([
10 insert_inode_locked(NULL);
11 ], [insert_inode_locked], [fs/inode.c], [
13 AC_DEFINE(HAVE_INSERT_INODE_LOCKED, 1,
14 [insert_inode_locked() is available])