diff options
Diffstat (limited to 'config/kernel-d-obtain-alias.m4')
-rw-r--r-- | config/kernel-d-obtain-alias.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/kernel-d-obtain-alias.m4 b/config/kernel-d-obtain-alias.m4 new file mode 100644 index 000000000..d80a1c89c --- /dev/null +++ b/config/kernel-d-obtain-alias.m4 @@ -0,0 +1,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])], + []) +]) |