diff options
Diffstat (limited to 'fs/notify/dnotify/dnotify.c')
-rw-r--r-- | fs/notify/dnotify/dnotify.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c index ec459b6e8c64..98a751614c74 100644 --- a/fs/notify/dnotify/dnotify.c +++ b/fs/notify/dnotify/dnotify.c | |||
@@ -153,6 +153,7 @@ static bool dnotify_should_send_event(struct fsnotify_group *group, | |||
153 | if (!entry) | 153 | if (!entry) |
154 | return false; | 154 | return false; |
155 | 155 | ||
156 | mask = (mask & ~FS_EVENT_ON_CHILD); | ||
156 | send = (mask & entry->mask); | 157 | send = (mask & entry->mask); |
157 | 158 | ||
158 | fsnotify_put_mark(entry); /* matches fsnotify_find_mark_entry */ | 159 | fsnotify_put_mark(entry); /* matches fsnotify_find_mark_entry */ |