aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/fsnotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/fsnotify.c')
-rw-r--r--fs/notify/fsnotify.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c
index 53b31f46d698..9ba29ee747cf 100644
--- a/fs/notify/fsnotify.c
+++ b/fs/notify/fsnotify.c
@@ -227,11 +227,6 @@ int fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is,
227 if (mask & FS_MODIFY) 227 if (mask & FS_MODIFY)
228 __fsnotify_flush_ignored_mask(to_tell, data, data_is); 228 __fsnotify_flush_ignored_mask(to_tell, data, data_is);
229 229
230 /* if none of the directed listeners or vfsmount listeners care */
231 if (!(test_mask & fsnotify_inode_mask) &&
232 !(test_mask & fsnotify_vfsmount_mask))
233 return 0;
234
235 if (data_is == FSNOTIFY_EVENT_FILE) 230 if (data_is == FSNOTIFY_EVENT_FILE)
236 mnt = ((struct file *)data)->f_path.mnt; 231 mnt = ((struct file *)data)->f_path.mnt;
237 232