diff options
author | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:39 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:54 -0400 |
commit | 02436668d98385f5b5d9ffb695a37dadf98ed8a8 (patch) | |
tree | e0e37328a9ba5c0af49903114fffd82f2141180d /fs/notify/mark.c | |
parent | 43709a288ed03aa0e2979ab63dd089b3889645c4 (diff) |
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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/notify/mark.c b/fs/notify/mark.c index 236f29b066ed..325185e514bb 100644 --- a/fs/notify/mark.c +++ b/fs/notify/mark.c | |||
@@ -223,15 +223,6 @@ int fsnotify_add_mark(struct fsnotify_mark *mark, | |||
223 | BUG_ON(!inode && !mnt); | 223 | BUG_ON(!inode && !mnt); |
224 | 224 | ||
225 | /* | 225 | /* |
226 | * if this group isn't being testing for inode type events we need | ||
227 | * to start testing | ||
228 | */ | ||
229 | if (inode && unlikely(list_empty(&group->inode_group_list))) | ||
230 | fsnotify_add_inode_group(group); | ||
231 | else if (mnt && unlikely(list_empty(&group->vfsmount_group_list))) | ||
232 | fsnotify_add_vfsmount_group(group); | ||
233 | |||
234 | /* | ||
235 | * LOCKING ORDER!!!! | 226 | * LOCKING ORDER!!!! |
236 | * mark->lock | 227 | * mark->lock |
237 | * group->mark_lock | 228 | * group->mark_lock |