]> Pileus Git - ~andy/linux/blobdiff - fs/notify/group.c
fsnotify: do not share events between notification groups
[~andy/linux] / fs / notify / group.c
index bd2625bd88b47a7b2961ec0d43b77f5675a80ad6..ee674fe2cec7f3f7b99ad09363b6a425ff4d6dbd 100644 (file)
@@ -99,6 +99,7 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops)
        INIT_LIST_HEAD(&group->marks_list);
 
        group->ops = ops;
+       fsnotify_init_event(&group->overflow_event, NULL, FS_Q_OVERFLOW);
 
        return group;
 }