fsnotify: Fix detection whether overflow event is queued
authorJan Kara <jack@suse.cz>
Fri, 21 Feb 2014 18:02:34 +0000 (19:02 +0100)
committerJan Kara <jack@suse.cz>
Tue, 25 Feb 2014 10:17:52 +0000 (11:17 +0100)
Currently we didn't initialize event's list head when we removed it from
the event list. Thus a detection whether overflow event is already
queued wasn't working. Fix it by always initializing the list head when
deleting event from a list.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/notification.c

Simple merge