fsnotify: parent event notification
authorEric Paris <eparis@redhat.com>
Thu, 21 May 2009 21:01:29 +0000 (17:01 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:57:53 +0000 (14:57 -0400)
commitc28f7e56e9d95fb531dc3be8df2e7f52bee76d21
treeefce13ed8c4f5b312ef0b77950489d52ef5a039a
parent3be25f49b9d6a97eae9bcb96d3292072b7658bd8
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>
fs/notify/fsnotify.c
fs/notify/fsnotify.h
fs/notify/inode_mark.c
include/linux/dcache.h
include/linux/fsnotify.h
include/linux/fsnotify_backend.h