diff options
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 |