git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inotify: tail drop inotify q_overflow events
[safe/jmp/linux-2.6]
/
fs
/
notify
/
notification.c
diff --git
a/fs/notify/notification.c
b/fs/notify/notification.c
index
74b3cf3
..
3816d57
100644
(file)
--- a/
fs/notify/notification.c
+++ b/
fs/notify/notification.c
@@
-153,6
+153,10
@@
static bool event_compare(struct fsnotify_event *old, struct fsnotify_event *new
return true;
break;
case (FSNOTIFY_EVENT_NONE):
+ if (old->mask & FS_Q_OVERFLOW)
+ return true;
+ else if (old->mask & FS_IN_IGNORED)
+ return false;
return false;
};
}