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>

authored by Eric Paris and committed by Linus Torvalds cd94c8bb eef3a116

+4
+4
fs/notify/notification.c
··· 153 return true; 154 break; 155 case (FSNOTIFY_EVENT_NONE): 156 return false; 157 }; 158 }
··· 153 return true; 154 break; 155 case (FSNOTIFY_EVENT_NONE): 156 + if (old->mask & FS_Q_OVERFLOW) 157 + return true; 158 + else if (old->mask & FS_IN_IGNORED) 159 + return false; 160 return false; 161 }; 162 }