3 dnl # The sops->dirty_inode() callbacks were updated to take a flags
4 dnl # argument. This allows the greater control over whether the
5 dnl # filesystem needs to push out a transaction or not.
7 AC_DEFUN([ZFS_AC_KERNEL_SRC_DIRTY_INODE], [
8 ZFS_LINUX_TEST_SRC([dirty_inode_with_flags], [
11 void dirty_inode(struct inode *a, int b) { return; }
13 static const struct super_operations
14 sops __attribute__ ((unused)) = {
15 .dirty_inode = dirty_inode,
20 AC_DEFUN([ZFS_AC_KERNEL_DIRTY_INODE], [
21 AC_MSG_CHECKING([whether sops->dirty_inode() wants flags])
22 ZFS_LINUX_TEST_RESULT([dirty_inode_with_flags], [
24 AC_DEFINE(HAVE_DIRTY_INODE_WITH_FLAGS, 1,
25 [sops->dirty_inode() wants flags])