]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4af55998835463dc05e9f6cd8196f3f11aa81c0
tree9840dafc6bfd9319537272abf04feb09b430e127
parent6fb79a8d0aea629eea20cbad0a38f2db5d4e3380
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