git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inotify/dnotify: should_send_event shouldn't match on FS_EVENT_ON_CHILD
[pandora-kernel.git]
/
fs
/
notify
/
dnotify
/
dnotify.c
diff --git
a/fs/notify/dnotify/dnotify.c
b/fs/notify/dnotify/dnotify.c
index
ec459b6
..
98a7516
100644
(file)
--- 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,
if (!entry)
return false;
+ mask = (mask & ~FS_EVENT_ON_CHILD);
send = (mask & entry->mask);
fsnotify_put_mark(entry); /* matches fsnotify_find_mark_entry */