diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-10-04 00:25:32 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-10-04 13:27:48 +0200 |
commit | b723a7911d028fb55f67a63c4c4d895f72e059d4 (patch) | |
tree | 4813df460221aa82c8cce00628e0c9fc309736a3 /include | |
parent | 96a71f21ef1fcc32bea07c612a332a89a213f054 (diff) | |
download | linux-b723a7911d028fb55f67a63c4c4d895f72e059d4.tar.gz linux-b723a7911d028fb55f67a63c4c4d895f72e059d4.tar.bz2 linux-b723a7911d028fb55f67a63c4c4d895f72e059d4.zip |
fanotify: fix collision of internal and uapi mark flags
The new mark flag FAN_MARK_FILESYSTEMS collides with existing internal
flag FAN_MARK_ONDIR. Change internal flag value to avoid the collision.
Fixes: d54f4fba889b ("fanotify: add API to attach/detach super block mark")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fanotify.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h index 9c5ea3bdfaa0..e70fccc3757e 100644 --- a/include/linux/fanotify.h +++ b/include/linux/fanotify.h @@ -5,7 +5,7 @@ #include <uapi/linux/fanotify.h> /* not valid from userspace, only kernel internal */ -#define FAN_MARK_ONDIR 0x00000100 +#define FAN_MARK_ONDIR 0x80000000 #define FAN_GROUP_FLAG(group, flag) \ ((group)->fanotify_data.flags & (flag)) |