summaryrefslogtreecommitdiffstats
path: root/config/kernel-truncate-setsize.m4
blob: d8b2b47bd7de4007dead8d1548206290bd0b6a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
dnl #
dnl # 2.6.35 API change
dnl # Added truncate_setsize() helper function.
dnl #
AC_DEFUN([ZFS_AC_KERNEL_TRUNCATE_SETSIZE], [
	ZFS_CHECK_SYMBOL_EXPORT(
		[truncate_setsize],
		[mm/truncate.c],
		[AC_DEFINE(HAVE_TRUNCATE_SETSIZE, 1,
		[truncate_setsize() is available])],
		[])
])