summaryrefslogtreecommitdiff
path: root/include/linux/fanotify.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2018-10-04 00:25:34 +0300
committerJan Kara <jack@suse.cz>2018-10-04 13:28:29 +0200
commita72fd224e37bf6a0630bce302deebbccbc236ba2 (patch)
treef4d2451ae1391a8369e9b34c3fefc58a72f680e0 /include/linux/fanotify.h
parent007d1e8395eaa59b0e7ad9eb2b53a40859446a88 (diff)
fanotify: simplify handling of FAN_ONDIR
fanotify mark add/remove code jumps through hoops to avoid setting the FS_ISDIR in the commulative object mask. That was just papering over a bug in fsnotify() handling of the FS_ISDIR extra flag. This bug is now fixed, so all the hoops can be removed along with the unneeded internal flag FAN_MARK_ONDIR. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/fanotify.h')
-rw-r--r--include/linux/fanotify.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index e70fccc3757e..a8c3fc54276d 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -4,9 +4,6 @@
#include <uapi/linux/fanotify.h>
-/* not valid from userspace, only kernel internal */
-#define FAN_MARK_ONDIR 0x80000000
-
#define FAN_GROUP_FLAG(group, flag) \
((group)->fanotify_data.flags & (flag))