]> 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)
commitccc6811f27d91990d185ffb542c99014b6029a49
tree9840dafc6bfd9319537272abf04feb09b430e127
parentfacb44483ee54b26e8c936c4f1522cc6953cb5ea
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