]> git.proxmox.com Git - mirror_zfs.git/blob - config/kernel-vfs-fsync.m4
Revert "Reduce dbuf_find() lock contention"
[mirror_zfs.git] / config / kernel-vfs-fsync.m4
1 dnl #
2 dnl # 2.6.35 API change,
3 dnl # Unused 'struct dentry *' removed from vfs_fsync() prototype.
4 dnl #
5 AC_DEFUN([ZFS_AC_KERNEL_SRC_VFS_FSYNC_2ARGS], [
6 ZFS_LINUX_TEST_SRC([vfs_fsync_2args], [
7 #include <linux/fs.h>
8 ],[
9 vfs_fsync(NULL, 0);
10 ])
11 ])
12
13 AC_DEFUN([ZFS_AC_KERNEL_VFS_FSYNC_2ARGS], [
14 AC_MSG_CHECKING([whether vfs_fsync() wants 2 args])
15 ZFS_LINUX_TEST_RESULT([vfs_fsync_2args], [
16 AC_MSG_RESULT(yes)
17 ],[
18 ZFS_LINUX_TEST_ERROR([vfs_fsync()])
19 ])
20 ])