The FAN_MARK_ONDIR flag is not longer needed, so we can remove it.
Signed-off-by: Lino Sanfilippo <[email protected]>
---
include/linux/fanotify.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index d6ec57a..8533799 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -52,10 +52,6 @@
#define FAN_MARK_IGNORED_MASK 0x00000020
#define FAN_MARK_IGNORED_SURV_MODIFY 0x00000040
#define FAN_MARK_FLUSH 0x00000080
-#ifdef __KERNEL__
-/* not valid from userspace, only kernel internal */
-#define FAN_MARK_ONDIR 0x00000100
-#endif
#define FAN_ALL_MARK_FLAGS (FAN_MARK_ADD |\
FAN_MARK_REMOVE |\
--
1.5.6.5