diff options
author | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:39 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:54 -0400 |
commit | 43709a288ed03aa0e2979ab63dd089b3889645c4 (patch) | |
tree | 71717ebf944c099af5ab8ea339889665d4b9ef67 /include/linux/fsnotify_backend.h | |
parent | 03930979afa63e079e9aefd4d3dd429240711027 (diff) |
fsnotify: remove group->mask
group->mask is now useless. It was originally a shortcut for fsnotify to
save on performance. These checks are now redundant, so we remove them.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 07d3c8954721..c4e7aab87461 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
@@ -120,15 +120,6 @@ struct fsnotify_group { | |||
120 | struct list_head vfsmount_group_list; | 120 | struct list_head vfsmount_group_list; |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * Defines all of the event types in which this group is interested. | ||
124 | * This mask is a bitwise OR of the FS_* events from above. Each time | ||
125 | * this mask changes for a group (if it changes) the correct functions | ||
126 | * must be called to update the global structures which indicate global | ||
127 | * interest in event types. | ||
128 | */ | ||
129 | __u32 mask; | ||
130 | |||
131 | /* | ||
132 | * How the refcnt is used is up to each group. When the refcnt hits 0 | 123 | * How the refcnt is used is up to each group. When the refcnt hits 0 |
133 | * fsnotify will clean up all of the resources associated with this group. | 124 | * fsnotify will clean up all of the resources associated with this group. |
134 | * As an example, the dnotify group will always have a refcnt=1 and that | 125 | * As an example, the dnotify group will always have a refcnt=1 and that |
@@ -367,8 +358,6 @@ static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode | |||
367 | 358 | ||
368 | /* get a reference to an existing or create a new group */ | 359 | /* get a reference to an existing or create a new group */ |
369 | extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops); | 360 | extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops); |
370 | /* run all marks associated with this group and update group->mask */ | ||
371 | extern void fsnotify_recalc_group_mask(struct fsnotify_group *group); | ||
372 | /* drop reference on a group from fsnotify_alloc_group */ | 361 | /* drop reference on a group from fsnotify_alloc_group */ |
373 | extern void fsnotify_put_group(struct fsnotify_group *group); | 362 | extern void fsnotify_put_group(struct fsnotify_group *group); |
374 | 363 | ||