inotify: tail drop inotify q_overflow events
authorEric Paris <eparis@redhat.com>
Mon, 17 Aug 2009 01:51:49 +0000 (21:51 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 17 Aug 2009 20:37:37 +0000 (13:37 -0700)
commitcd94c8bbef8d4b796a7ed4c551355a334604fd36
treeac448f253eb01a7fd1872daa15938b5d72fee796
parenteef3a116be11d35396efb2a8cc7345fd3221e294
inotify: tail drop inotify q_overflow events

In f44aebcc the tail drop logic of events with no file backing
(q_overflow and in_ignored) was reversed so IN_IGNORED events would
never be tail dropped.  This now means that Q_OVERFLOW events are NOT
tail dropped.  The fix is to not tail drop IN_IGNORED, but to tail drop
Q_OVERFLOW.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/notify/notification.c