fanotify: fix collision of internal and uapi mark flags
[linux-2.6-microblaze.git] / include / linux / fanotify.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_FANOTIFY_H
3 #define _LINUX_FANOTIFY_H
4
5 #include <uapi/linux/fanotify.h>
6
7 /* not valid from userspace, only kernel internal */
8 #define FAN_MARK_ONDIR          0x80000000
9
10 #define FAN_GROUP_FLAG(group, flag) \
11         ((group)->fanotify_data.flags & (flag))
12
13 #endif /* _LINUX_FANOTIFY_H */