2 dnl # 2.6.39 API change
3 dnl # The .get_sb callback has been replaced by a .mount callback
4 dnl # in the file_system_type structure. When using the new
5 dnl # interface the caller must now use the mount_nodev() helper.
6 dnl # This updated callback and helper no longer pass the vfsmount.
8 AC_DEFUN([ZFS_AC_KERNEL_MOUNT_NODEV],
9 [AC_MSG_CHECKING([whether mount_nodev() is available])
10 ZFS_LINUX_TRY_COMPILE_SYMBOL([
13 mount_nodev(NULL, 0, NULL, NULL);
14 ], [mount_nodev], [fs/super.c], [
16 AC_DEFINE(HAVE_MOUNT_NODEV, 1, [mount_nodev() is available])