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)
commit2513190a926f093dbdc301c68e6ade0bcf293f9a
tree9840dafc6bfd9319537272abf04feb09b430e127
parent0dc83bd30b0bf5410c0933cfbbf8853248eff0a9
fsnotify: Fix detection whether overflow event is queued

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