diff options
Diffstat (limited to 'fs/notify/fsnotify.c')
-rw-r--r-- | fs/notify/fsnotify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index fc06e4789392..523337b600a0 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c | |||
@@ -157,7 +157,8 @@ void fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is, const | |||
157 | idx = srcu_read_lock(&fsnotify_grp_srcu); | 157 | idx = srcu_read_lock(&fsnotify_grp_srcu); |
158 | list_for_each_entry_rcu(group, &fsnotify_groups, group_list) { | 158 | list_for_each_entry_rcu(group, &fsnotify_groups, group_list) { |
159 | if (test_mask & group->mask) { | 159 | if (test_mask & group->mask) { |
160 | if (!group->ops->should_send_event(group, to_tell, mask, data_is)) | 160 | if (!group->ops->should_send_event(group, to_tell, mask, |
161 | data, data_is)) | ||
161 | continue; | 162 | continue; |
162 | if (!event) { | 163 | if (!event) { |
163 | event = fsnotify_create_event(to_tell, mask, data, | 164 | event = fsnotify_create_event(to_tell, mask, data, |