]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fsnotify: cleanup should_send_event
authorEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:39 +0000 (10:18 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:53 +0000 (10:18 -0400)
commit2612abb51b11ffd2d75c472b11178115f5808909
tree5657a07a347984cc1f34117d7ef88af73ea12b60
parent0215054f377ce5ac4ffc27b26b13b3f10e6410e6
fsnotify: cleanup should_send_event

The change to use srcu and walk the object list rather than the global
fsnotify_group list means that should_send_event is no longer needed for a
number of groups and can be simplified for others.  Do that.

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