inotify: Fix mask checks
authorJerome Marchand <[email protected]>
Wed, 28 Jul 2010 14:18:37 +0000 (10:18 -0400)
committerEric Paris <[email protected]>
Wed, 28 Jul 2010 14:18:49 +0000 (10:18 -0400)
commit44b350fc23e36e95c8e042b7ded66217ea2b9d72
tree590975f1e8690e5555f7c8b45f26ec7fddccddb8
parentf874e1ac21d7708464dc656a10312542c54719f1
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 <[email protected]>
fs/notify/inotify/inotify_user.c