summaryrefslogtreecommitdiffstats
path: root/config/kernel-d-obtain-alias.m4
blob: d80a1c89c4467247cba4b2cc02c3e96af05cbed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
dnl #
dnl # 2.6.28 API change
dnl # Added d_obtain_alias() helper function.
dnl #
AC_DEFUN([ZFS_AC_KERNEL_D_OBTAIN_ALIAS], [
	ZFS_CHECK_SYMBOL_EXPORT(
		[d_obtain_alias],
		[fs/dcache.c],
		[AC_DEFINE(HAVE_D_OBTAIN_ALIAS, 1,
		[d_obtain_alias() is available])],
		[])
])