diff options
author | Eric Paris <eparis@redhat.com> | 2009-05-21 17:01:29 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2009-06-11 14:57:53 -0400 |
commit | c28f7e56e9d95fb531dc3be8df2e7f52bee76d21 (patch) | |
tree | efce13ed8c4f5b312ef0b77950489d52ef5a039a /fs/notify/fsnotify.h | |
parent | 3be25f49b9d6a97eae9bcb96d3292072b7658bd8 (diff) |
fsnotify: parent event notification
inotify and dnotify both use a similar parent notification mechanism. We
add a generic parent notification mechanism to fsnotify for both of these
to use. This new machanism also adds the dentry flag optimization which
exists for inotify to dnotify.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/notify/fsnotify.h')
-rw-r--r-- | fs/notify/fsnotify.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h index 8ebcbe893c91..83b8ec0a8ec2 100644 --- a/fs/notify/fsnotify.h +++ b/fs/notify/fsnotify.h | |||
@@ -17,4 +17,9 @@ extern __u32 fsnotify_mask; | |||
17 | extern void fsnotify_final_destroy_group(struct fsnotify_group *group); | 17 | extern void fsnotify_final_destroy_group(struct fsnotify_group *group); |
18 | /* run the list of all marks associated with inode and flag them to be freed */ | 18 | /* run the list of all marks associated with inode and flag them to be freed */ |
19 | extern void fsnotify_clear_marks_by_inode(struct inode *inode); | 19 | extern void fsnotify_clear_marks_by_inode(struct inode *inode); |
20 | /* | ||
21 | * update the dentry->d_flags of all of inode's children to indicate if inode cares | ||
22 | * about events that happen to its children. | ||
23 | */ | ||
24 | extern void __fsnotify_update_child_dentry_flags(struct inode *inode); | ||
20 | #endif /* __FS_NOTIFY_FSNOTIFY_H_ */ | 25 | #endif /* __FS_NOTIFY_FSNOTIFY_H_ */ |