1 #include <linux/fsnotify_backend.h>
2 #include <linux/path.h>
3 #include <linux/slab.h>
5 extern struct kmem_cache *fanotify_event_cachep;
7 struct fanotify_event_info {
8 struct fsnotify_event fse;
10 * We hold ref to this path so it may be dereferenced at any point
11 * during this object's lifetime
15 #ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS
16 u32 response; /* userspace answer to question */
20 static inline struct fanotify_event_info *FANOTIFY_E(struct fsnotify_event *fse)
22 return container_of(fse, struct fanotify_event_info, fse);