projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'asoc/topic/4554', 'asoc/topic/ab8500', 'asoc/topic...
[cascardo/linux.git]
/
fs
/
notify
/
fanotify
/
fanotify.c
diff --git
a/fs/notify/fanotify/fanotify.c
b/fs/notify/fanotify/fanotify.c
index
9a66ff7
..
d2f97ec
100644
(file)
--- a/
fs/notify/fanotify/fanotify.c
+++ b/
fs/notify/fanotify/fanotify.c
@@
-143,7
+143,8
@@
static bool fanotify_should_send_event(struct fsnotify_mark *inode_mark,
!(marks_mask & FS_ISDIR & ~marks_ignored_mask))
return false;
- if (event_mask & marks_mask & ~marks_ignored_mask)
+ if (event_mask & FAN_ALL_OUTGOING_EVENTS & marks_mask &
+ ~marks_ignored_mask)
return true;
return false;