diff options
Diffstat (limited to 'fs/notify/group.c')
-rw-r--r-- | fs/notify/group.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c index 8da532dd6026..fc0d966b270f 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c | |||
@@ -35,22 +35,6 @@ LIST_HEAD(fsnotify_inode_groups); | |||
35 | /* all groups registered to receive mount point filesystem notifications */ | 35 | /* all groups registered to receive mount point filesystem notifications */ |
36 | LIST_HEAD(fsnotify_vfsmount_groups); | 36 | LIST_HEAD(fsnotify_vfsmount_groups); |
37 | 37 | ||
38 | /* | ||
39 | * Update the group->mask by running all of the marks associated with this | ||
40 | * group and finding the bitwise | of all of the mark->mask. | ||
41 | */ | ||
42 | void fsnotify_recalc_group_mask(struct fsnotify_group *group) | ||
43 | { | ||
44 | __u32 mask = 0; | ||
45 | struct fsnotify_mark *mark; | ||
46 | |||
47 | spin_lock(&group->mark_lock); | ||
48 | list_for_each_entry(mark, &group->marks_list, g_list) | ||
49 | mask |= mark->mask; | ||
50 | group->mask = mask; | ||
51 | spin_unlock(&group->mark_lock); | ||
52 | } | ||
53 | |||
54 | void fsnotify_add_vfsmount_group(struct fsnotify_group *group) | 38 | void fsnotify_add_vfsmount_group(struct fsnotify_group *group) |
55 | { | 39 | { |
56 | struct fsnotify_group *group_iter; | 40 | struct fsnotify_group *group_iter; |