aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/fsnotify.h
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-07-28 10:18:39 -0400
committerEric Paris <eparis@redhat.com>2010-07-28 10:18:54 -0400
commit03930979afa63e079e9aefd4d3dd429240711027 (patch)
tree7df0097a8d51b9f71b4f10a0f49e773fb41d9ba5 /fs/notify/fsnotify.h
parent2612abb51b11ffd2d75c472b11178115f5808909 (diff)
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>
Diffstat (limited to 'fs/notify/fsnotify.h')
-rw-r--r--fs/notify/fsnotify.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h
index 7eed86f942ba..b41dbf5a125c 100644
--- a/fs/notify/fsnotify.h
+++ b/fs/notify/fsnotify.h
@@ -10,10 +10,6 @@
10extern struct list_head fsnotify_inode_groups; 10extern struct list_head fsnotify_inode_groups;
11/* all groups which receive vfsmount fsnotify events */ 11/* all groups which receive vfsmount fsnotify events */
12extern struct list_head fsnotify_vfsmount_groups; 12extern struct list_head fsnotify_vfsmount_groups;
13/* all bitwise OR of all event types (FS_*) for all fsnotify_inode_groups */
14extern __u32 fsnotify_inode_mask;
15/* all bitwise OR of all event types (FS_*) for all fsnotify_vfsmount_groups */
16extern __u32 fsnotify_vfsmount_mask;
17 13
18/* destroy all events sitting in this groups notification queue */ 14/* destroy all events sitting in this groups notification queue */
19extern void fsnotify_flush_notify(struct fsnotify_group *group); 15extern void fsnotify_flush_notify(struct fsnotify_group *group);