2009-05-22 05:02:01 +08:00
|
|
|
#include <linux/fsnotify_backend.h>
|
|
|
|
#include <linux/inotify.h>
|
|
|
|
#include <linux/slab.h> /* struct kmem_cache */
|
|
|
|
|
|
|
|
extern struct kmem_cache *event_priv_cachep;
|
|
|
|
|
|
|
|
struct inotify_event_private_data {
|
|
|
|
struct fsnotify_event_private_data fsnotify_event_priv_data;
|
|
|
|
int wd;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct inotify_inode_mark_entry {
|
2009-12-18 10:24:24 +08:00
|
|
|
/* fsnotify_mark MUST be the first thing */
|
|
|
|
struct fsnotify_mark fsn_entry;
|
2009-05-22 05:02:01 +08:00
|
|
|
int wd;
|
|
|
|
};
|
|
|
|
|
2009-12-18 10:24:24 +08:00
|
|
|
extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *entry,
|
2009-06-13 04:04:26 +08:00
|
|
|
struct fsnotify_group *group);
|
2009-05-22 05:02:01 +08:00
|
|
|
extern void inotify_free_event_priv(struct fsnotify_event_private_data *event_priv);
|
|
|
|
|
|
|
|
extern const struct fsnotify_ops inotify_fsnotify_ops;
|