inotify/dnotify: should_send_event shouldn't match on FS_EVENT_ON_CHILD
authorEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 15:09:47 +0000 (11:09 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:57:54 +0000 (14:57 -0400)
commite42e27736de80045f925564ea27a1d32957219e7
treecae8a5bc81f02c7563625e30f5f0d05357dc3701
parentce61856bd2aadb064f595e5c0444376a2b117c41
inotify/dnotify: should_send_event shouldn't match on FS_EVENT_ON_CHILD

inotify and dnotify will both indicate that they want any event which came
from a child inode.  The fix is to mask off FS_EVENT_ON_CHILD when deciding
if inotify or dnotify is interested in a given event.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/dnotify/dnotify.c
fs/notify/fsnotify.c
fs/notify/inotify/inotify_fsnotify.c