summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSigned-off-by: Wu Fengguang2010-02-08 18:31:29 +0100
committerEric Paris2010-07-28 15:58:54 +0200
commit12ed2e36c98aec6c41559222e311f4aa15d254b6 (patch)
tree0fa2fd70e4b3f6a7315d037d27fde94641c5f204 /include/linux
parentvfs: introduce FMODE_NONOTIFY (diff)
downloadkernel-qcow2-linux-12ed2e36c98aec6c41559222e311f4aa15d254b6.tar.gz
kernel-qcow2-linux-12ed2e36c98aec6c41559222e311f4aa15d254b6.tar.xz
kernel-qcow2-linux-12ed2e36c98aec6c41559222e311f4aa15d254b6.zip
fanotify: FMODE_NONOTIFY and __O_SYNC in sparc conflict
sparc used the same value as FMODE_NONOTIFY so change FMODE_NONOTIFY to be something unique. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 50ef4d4c95bf..f9a003278758 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -91,7 +91,7 @@ struct inodes_stat_t {
#define FMODE_RANDOM ((__force fmode_t)0x1000)
/* File was opened by fanotify and shouldn't generate fanotify events */
-#define FMODE_NONOTIFY ((__force fmode_t)8388608)
+#define FMODE_NONOTIFY ((__force fmode_t)16777216) /* 0x1000000 */
/*
* The below are the various read and write types that we support. Some of