Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 457176 | Differences between
and this patch

Collapse All | Expand All

(-)a/config/kernel-dirty-inode.m4 (-4 / +4 lines)
Lines 8-18 AC_DEFUN([ZFS_AC_KERNEL_DIRTY_INODE_WITH_FLAGS], [ Link Here
8
	AC_MSG_CHECKING([whether sops->dirty_inode() wants flags])
8
	AC_MSG_CHECKING([whether sops->dirty_inode() wants flags])
9
	ZFS_LINUX_TRY_COMPILE([
9
	ZFS_LINUX_TRY_COMPILE([
10
		#include <linux/fs.h>
10
		#include <linux/fs.h>
11
		void dirty_inode (struct inode * a, int b) { return; }
12
		static struct super_operations sops __attribute__ ((unused)) = {
13
			.dirty_inode = dirty_inode,
14
		};
11
	],[
15
	],[
12
		void (*dirty_inode) (struct inode *, int) = NULL;
13
		struct super_operations sops __attribute__ ((unused));
14
15
		sops.dirty_inode = dirty_inode;
16
	],[
16
	],[
17
		AC_MSG_RESULT([yes])
17
		AC_MSG_RESULT([yes])
18
		AC_DEFINE(HAVE_DIRTY_INODE_WITH_FLAGS, 1,
18
		AC_DEFINE(HAVE_DIRTY_INODE_WITH_FLAGS, 1,

Return to bug 457176