diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:27 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:57 -0400 |
commit | 0d48b7f01f442bc88a69aa98f3b6b015f2817608 (patch) | |
tree | 6b484d9b8ac355609e9b2783169ed584cc365f9a /include | |
parent | 2504c5d63b811b71bbaa8d5d5af163e698f4df1f (diff) |
fsnotify: vfsmount marks generic functions
Much like inode-mark.c has all of the code dealing with marks on inodes
this patch adds a vfsmount-mark.c which has similar code but is intended
for marks on vfsmounts.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsnotify_backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 27cccbecbf23..f21ff1bd4b5a 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
@@ -360,6 +360,8 @@ extern struct fsnotify_event *fsnotify_remove_notify_event(struct fsnotify_group | |||
360 | 360 | ||
361 | /* functions used to manipulate the marks attached to inodes */ | 361 | /* functions used to manipulate the marks attached to inodes */ |
362 | 362 | ||
363 | /* run all marks associated with a vfsmount and update mnt->mnt_fsnotify_mask */ | ||
364 | extern void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt); | ||
363 | /* run all marks associated with an inode and update inode->i_fsnotify_mask */ | 365 | /* run all marks associated with an inode and update inode->i_fsnotify_mask */ |
364 | extern void fsnotify_recalc_inode_mask(struct inode *inode); | 366 | extern void fsnotify_recalc_inode_mask(struct inode *inode); |
365 | extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *mark)); | 367 | extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *mark)); |