]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fsnotify: remove the global masks
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:54 +0000 (10:18 -0400)
commit03930979afa63e079e9aefd4d3dd429240711027
tree7df0097a8d51b9f71b4f10a0f49e773fb41d9ba5
parent2612abb51b11ffd2d75c472b11178115f5808909
fsnotify: remove the global masks

Because we walk the object->fsnotify_marks list instead of the global
fsnotify groups list we don't need the fsnotify_inode_mask and
fsnotify_vfsmount_mask as these were simply shortcuts in fsnotify() for
performance.  They are now extra checks, rip them out.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fsnotify.c
fs/notify/fsnotify.h
fs/notify/group.c
include/linux/fsnotify_backend.h