summaryrefslogtreecommitdiffstats
path: root/config/kernel-insert-inode-locked.m4
blob: 1faff7e642b39349554b9d79a9e87d1645a55a8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
dnl #
dnl # 2.6.28 API change
dnl # Added insert_inode_locked() helper function.
dnl #
AC_DEFUN([ZFS_AC_KERNEL_INSERT_INODE_LOCKED], [
	ZFS_CHECK_SYMBOL_EXPORT(
		[insert_inode_locked],
		[fs/inode.c],
		[AC_DEFINE(HAVE_INSERT_INODE_LOCKED, 1,
		[insert_inode_locked() is available])],
		[])
])