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 | 03930979afa63e079e9aefd4d3dd429240711027 (patch) | |
tree | 7df0097a8d51b9f71b4f10a0f49e773fb41d9ba5 /include/linux/fsnotify_backend.h | |
parent | 2612abb51b11ffd2d75c472b11178115f5808909 (diff) |
fsnotify: remove the global masks
Because we walk the object->fsnotify_marks list instead of the global
fsnotify groups list we don't need the fsnotify_inode_mask and
fsnotify_vfsmount_mask as these were simply shortcuts in fsnotify() for
performance. They are now extra checks, rip them out.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 225dc0c3a48c..07d3c8954721 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
@@ -365,8 +365,6 @@ static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode | |||
365 | 365 | ||
366 | /* called from fsnotify listeners, such as fanotify or dnotify */ | 366 | /* called from fsnotify listeners, such as fanotify or dnotify */ |
367 | 367 | ||
368 | /* must call when a group changes its ->mask */ | ||
369 | extern void fsnotify_recalc_global_mask(void); | ||
370 | /* get a reference to an existing or create a new group */ | 368 | /* get a reference to an existing or create a new group */ |
371 | extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops); | 369 | extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops); |
372 | /* run all marks associated with this group and update group->mask */ | 370 | /* run all marks associated with this group and update group->mask */ |