diff options
Diffstat (limited to 'fs/notify/inode_mark.c')
-rw-r--r-- | fs/notify/inode_mark.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/notify/inode_mark.c b/fs/notify/inode_mark.c index a3230c485531..beffebb64627 100644 --- a/fs/notify/inode_mark.c +++ b/fs/notify/inode_mark.c | |||
@@ -328,6 +328,13 @@ int fsnotify_add_mark(struct fsnotify_mark_entry *entry, | |||
328 | */ | 328 | */ |
329 | if (unlikely(list_empty(&group->inode_group_list))) | 329 | if (unlikely(list_empty(&group->inode_group_list))) |
330 | fsnotify_add_inode_group(group); | 330 | fsnotify_add_inode_group(group); |
331 | /* | ||
332 | * XXX This is where we could also do the fsnotify_add_vfsmount_group | ||
333 | * if we are setting and vfsmount mark.... | ||
334 | |||
335 | if (unlikely(list_empty(&group->vfsmount_group_list))) | ||
336 | fsnotify_add_vfsmount_group(group); | ||
337 | */ | ||
331 | 338 | ||
332 | /* | 339 | /* |
333 | * LOCKING ORDER!!!! | 340 | * LOCKING ORDER!!!! |