]> git.baikalelectronics.ru Git - kernel.git/commit
inotify: Fix mask checks
authorJerome Marchand <jmarchan@redhat.com>
Wed, 28 Jul 2010 14:18:37 +0000 (10:18 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:49 +0000 (10:18 -0400)
commit05a507186784abf58533e6c7752c507941a2d3b6
tree590975f1e8690e5555f7c8b45f26ec7fddccddb8
parent05d4bb8b7f45983329dea81b1853a4da823215ce
inotify: Fix mask checks

The mask checks in inotify_update_existing_watch() and
inotify_new_watch() are useless because inotify_arg_to_mask() sets
FS_IN_IGNORED and FS_EVENT_ON_CHILD bits anyway.

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