Eric Paris | 63c882a | 2009-05-21 17:02:01 -0400 | [diff] [blame] | 1 | #include <linux/fsnotify_backend.h> |
| 2 | #include <linux/inotify.h> |
| 3 | #include <linux/slab.h> /* struct kmem_cache */ |
| 4 | |
| 5 | extern struct kmem_cache *event_priv_cachep; |
| 6 | |
| 7 | struct inotify_event_private_data { |
| 8 | struct fsnotify_event_private_data fsnotify_event_priv_data; |
| 9 | int wd; |
| 10 | }; |
| 11 | |
Eric Paris | 000285d | 2009-12-17 21:24:24 -0500 | [diff] [blame] | 12 | struct inotify_inode_mark { |
| 13 | struct fsnotify_mark fsn_mark; |
Eric Paris | 63c882a | 2009-05-21 17:02:01 -0400 | [diff] [blame] | 14 | int wd; |
| 15 | }; |
| 16 | |
Eric Paris | 000285d | 2009-12-17 21:24:24 -0500 | [diff] [blame] | 17 | extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, |
Eric Paris | 528da3e | 2009-06-12 16:04:26 -0400 | [diff] [blame] | 18 | struct fsnotify_group *group); |
Eric Paris | 63c882a | 2009-05-21 17:02:01 -0400 | [diff] [blame] | 19 | extern void inotify_free_event_priv(struct fsnotify_event_private_data *event_priv); |
| 20 | |
| 21 | extern const struct fsnotify_ops inotify_fsnotify_ops; |