Files
mirror_zfs/config/kernel-vfs-fsync.m4
T

22 lines
504 B
Plaintext
Raw Normal View History

dnl # SPDX-License-Identifier: CDDL-1.0
2018-02-07 11:50:24 -08:00
dnl #
dnl # 2.6.35 API change,
dnl # Unused 'struct dentry *' removed from vfs_fsync() prototype.
dnl #
2019-10-01 12:50:34 -07:00
AC_DEFUN([ZFS_AC_KERNEL_SRC_VFS_FSYNC_2ARGS], [
ZFS_LINUX_TEST_SRC([vfs_fsync_2args], [
2018-02-07 11:50:24 -08:00
#include <linux/fs.h>
],[
vfs_fsync(NULL, 0);
2019-10-01 12:50:34 -07:00
])
])
AC_DEFUN([ZFS_AC_KERNEL_VFS_FSYNC_2ARGS], [
AC_MSG_CHECKING([whether vfs_fsync() wants 2 args])
ZFS_LINUX_TEST_RESULT([vfs_fsync_2args], [
2018-02-07 11:50:24 -08:00
AC_MSG_RESULT(yes)
],[
2019-11-12 08:59:06 -08:00
ZFS_LINUX_TEST_ERROR([vfs_fsync()])
2018-02-07 11:50:24 -08:00
])
])