diff --git a/fs/notify/notification.c b/fs/notify/notification.c index 74b3cf30bc6b38fe2406f4cb6e222d70115ebff5..3816d5750dd55eb6f8b2c710b6a017a4694b450c 100644 --- 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; }; }