aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/inotify')
-rw-r--r--fs/notify/inotify/inotify_fsnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c
index e53f49731b6e..5e73eeb2c697 100644
--- a/fs/notify/inotify/inotify_fsnotify.c
+++ b/fs/notify/inotify/inotify_fsnotify.c
@@ -142,11 +142,11 @@ static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify
142} 142}
143 143
144static bool inotify_should_send_event(struct fsnotify_group *group, struct inode *inode, 144static bool inotify_should_send_event(struct fsnotify_group *group, struct inode *inode,
145 struct vfsmount *mnt, struct fsnotify_mark *mark, 145 struct fsnotify_mark *inode_mark,
146 struct fsnotify_mark *vfsmount_mark, 146 struct fsnotify_mark *vfsmount_mark,
147 __u32 mask, void *data, int data_type) 147 __u32 mask, void *data, int data_type)
148{ 148{
149 if ((mark->mask & FS_EXCL_UNLINK) && 149 if ((inode_mark->mask & FS_EXCL_UNLINK) &&
150 (data_type == FSNOTIFY_EVENT_FILE)) { 150 (data_type == FSNOTIFY_EVENT_FILE)) {
151 struct file *file = data; 151 struct file *file = data;
152 152