aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/group.c')
-rw-r--r--fs/notify/group.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c
index b70e7d21dfde..9e9eb406afdd 100644
--- a/fs/notify/group.c
+++ b/fs/notify/group.c
@@ -74,11 +74,11 @@ void fsnotify_recalc_group_mask(struct fsnotify_group *group)
74{ 74{
75 __u32 mask = 0; 75 __u32 mask = 0;
76 __u32 old_mask = group->mask; 76 __u32 old_mask = group->mask;
77 struct fsnotify_mark *entry; 77 struct fsnotify_mark *mark;
78 78
79 spin_lock(&group->mark_lock); 79 spin_lock(&group->mark_lock);
80 list_for_each_entry(entry, &group->marks_list, g_list) 80 list_for_each_entry(mark, &group->marks_list, g_list)
81 mask |= entry->mask; 81 mask |= mark->mask;
82 spin_unlock(&group->mark_lock); 82 spin_unlock(&group->mark_lock);
83 83
84 group->mask = mask; 84 group->mask = mask;