diff options
-rw-r--r-- | fs/notify/group.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c index 62fb8961a57b..934860e98095 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c | |||
@@ -178,17 +178,14 @@ struct fsnotify_group *fsnotify_obtain_group(__u32 mask, | |||
178 | 178 | ||
179 | atomic_set(&group->refcnt, 1); | 179 | atomic_set(&group->refcnt, 1); |
180 | 180 | ||
181 | group->on_group_list = 0; | ||
182 | group->mask = mask; | 181 | group->mask = mask; |
183 | 182 | ||
184 | mutex_init(&group->notification_mutex); | 183 | mutex_init(&group->notification_mutex); |
185 | INIT_LIST_HEAD(&group->notification_list); | 184 | INIT_LIST_HEAD(&group->notification_list); |
186 | init_waitqueue_head(&group->notification_waitq); | 185 | init_waitqueue_head(&group->notification_waitq); |
187 | group->q_len = 0; | ||
188 | group->max_events = UINT_MAX; | 186 | group->max_events = UINT_MAX; |
189 | 187 | ||
190 | spin_lock_init(&group->mark_lock); | 188 | spin_lock_init(&group->mark_lock); |
191 | atomic_set(&group->num_marks, 0); | ||
192 | INIT_LIST_HEAD(&group->mark_entries); | 189 | INIT_LIST_HEAD(&group->mark_entries); |
193 | 190 | ||
194 | group->ops = ops; | 191 | group->ops = ops; |