]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - zfs/config/kernel-aio-fsync.m4
media: dvb_ca_en50221: prevent using slot_info for Spectre attacs
[mirror_ubuntu-bionic-kernel.git] / zfs / config / kernel-aio-fsync.m4
CommitLineData
70e083d2
TG
1dnl #
2dnl # Linux 4.9-rc5+ ABI, removal of the .aio_fsync field
3dnl #
4AC_DEFUN([ZFS_AC_KERNEL_AIO_FSYNC], [
5 AC_MSG_CHECKING([whether fops->aio_fsync() exists])
6 ZFS_LINUX_TRY_COMPILE([
7 #include <linux/fs.h>
8
9 static const struct file_operations
10 fops __attribute__ ((unused)) = {
11 .aio_fsync = NULL,
12 };
13 ],[
14 ],[
15 AC_MSG_RESULT(yes)
16 AC_DEFINE(HAVE_FILE_AIO_FSYNC, 1, [fops->aio_fsync() exists])
17 ],[
18 AC_MSG_RESULT(no)
19 ])
20])
21