2 dnl # 2.6.35 API change
3 dnl # The dentry argument was deamed unused and dropped in 2.6.36.
5 AC_DEFUN([ZFS_AC_KERNEL_FSYNC_2ARGS], [
6 AC_MSG_CHECKING([whether fops->fsync() wants 2 args])
7 ZFS_LINUX_TRY_COMPILE([
10 int (*fsync) (struct file *, int datasync) = NULL;
11 struct file_operations fops;
16 AC_DEFINE(HAVE_2ARGS_FSYNC, 1, [fops->fsync() want 2 args])