summaryrefslogtreecommitdiffstats
path: root/fs/notify/mark.c
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
commit02436668d98385f5b5d9ffb695a37dadf98ed8a8 (patch)
treee0e37328a9ba5c0af49903114fffd82f2141180d /fs/notify/mark.c
parent43709a288ed03aa0e2979ab63dd089b3889645c4 (diff)
downloadop-kernel-dev-02436668d98385f5b5d9ffb695a37dadf98ed8a8.zip
op-kernel-dev-02436668d98385f5b5d9ffb695a37dadf98ed8a8.tar.gz
fsnotify: remove global fsnotify groups lists
The global fsnotify groups lists were invented as a way to increase the performance of fsnotify by shortcutting events which were not interesting. With the changes to walk the object lists rather than global groups lists these shortcuts are not useful. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/mark.c')
-rw-r--r--fs/notify/mark.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/notify/mark.c b/fs/notify/mark.c
index 236f29b..325185e 100644
--- a/fs/notify/mark.c
+++ b/fs/notify/mark.c
@@ -223,15 +223,6 @@ int fsnotify_add_mark(struct fsnotify_mark *mark,
BUG_ON(!inode && !mnt);
/*
- * if this group isn't being testing for inode type events we need
- * to start testing
- */
- if (inode && unlikely(list_empty(&group->inode_group_list)))
- fsnotify_add_inode_group(group);
- else if (mnt && unlikely(list_empty(&group->vfsmount_group_list)))
- fsnotify_add_vfsmount_group(group);
-
- /*
* LOCKING ORDER!!!!
* mark->lock
* group->mark_lock
OpenPOWER on IntegriCloud