blob: f234f3a4c8ca064bad83f95209a3bca696080e82 [file] [log] [blame]
Eric Paris63c882a2009-05-21 17:02:01 -04001#include <linux/fsnotify_backend.h>
2#include <linux/inotify.h>
3#include <linux/slab.h> /* struct kmem_cache */
4
5extern struct kmem_cache *event_priv_cachep;
6
7struct inotify_event_private_data {
8 struct fsnotify_event_private_data fsnotify_event_priv_data;
9 int wd;
10};
11
12struct inotify_inode_mark_entry {
13 /* fsnotify_mark_entry MUST be the first thing */
14 struct fsnotify_mark_entry fsn_entry;
15 int wd;
16};
17
Eric Paris528da3e2009-06-12 16:04:26 -040018extern void inotify_ignored_and_remove_idr(struct fsnotify_mark_entry *entry,
19 struct fsnotify_group *group);
Eric Paris63c882a2009-05-21 17:02:01 -040020extern void inotify_free_event_priv(struct fsnotify_event_private_data *event_priv);
21
22extern const struct fsnotify_ops inotify_fsnotify_ops;