blob: b6642e4de4bf978400d96f74da34c05f7040ab02 [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
Eric Paris000285d2009-12-17 21:24:24 -050012struct inotify_inode_mark {
13 struct fsnotify_mark fsn_mark;
Eric Paris63c882a2009-05-21 17:02:01 -040014 int wd;
15};
16
Eric Paris000285d2009-12-17 21:24:24 -050017extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
Eric Paris528da3e2009-06-12 16:04:26 -040018 struct fsnotify_group *group);
Eric Paris63c882a2009-05-21 17:02:01 -040019extern void inotify_free_event_priv(struct fsnotify_event_private_data *event_priv);
20
21extern const struct fsnotify_ops inotify_fsnotify_ops;