xref: /openbmc/linux/fs/notify/fsnotify.h (revision 90586523eb4b349806887c62ee70685a49415124)
1*90586523SEric Paris #ifndef __FS_NOTIFY_FSNOTIFY_H_
2*90586523SEric Paris #define __FS_NOTIFY_FSNOTIFY_H_
3*90586523SEric Paris 
4*90586523SEric Paris #include <linux/list.h>
5*90586523SEric Paris #include <linux/fsnotify.h>
6*90586523SEric Paris #include <linux/srcu.h>
7*90586523SEric Paris #include <linux/types.h>
8*90586523SEric Paris 
9*90586523SEric Paris /* protects reads of fsnotify_groups */
10*90586523SEric Paris extern struct srcu_struct fsnotify_grp_srcu;
11*90586523SEric Paris /* all groups which receive fsnotify events */
12*90586523SEric Paris extern struct list_head fsnotify_groups;
13*90586523SEric Paris /* all bitwise OR of all event types (FS_*) for all fsnotify_groups */
14*90586523SEric Paris extern __u32 fsnotify_mask;
15*90586523SEric Paris #endif	/* __FS_NOTIFY_FSNOTIFY_H_ */
16