aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/fsnotify.h
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 21:24:27 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:58:57 -0400
commit0d48b7f01f442bc88a69aa98f3b6b015f2817608 (patch)
tree6b484d9b8ac355609e9b2783169ed584cc365f9a /fs/notify/fsnotify.h
parent2504c5d63b811b71bbaa8d5d5af163e698f4df1f (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 'fs/notify/fsnotify.h')
-rw-r--r--fs/notify/fsnotify.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h
index 7c7a904b802d..38f3fb5cef28 100644
--- a/fs/notify/fsnotify.h
+++ b/fs/notify/fsnotify.h
@@ -24,6 +24,10 @@ extern void fsnotify_flush_notify(struct fsnotify_group *group);
24extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark, 24extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark,
25 struct fsnotify_group *group, struct inode *inode, 25 struct fsnotify_group *group, struct inode *inode,
26 int allow_dups); 26 int allow_dups);
27/* add a mark to a vfsmount */
28extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark,
29 struct fsnotify_group *group, struct vfsmount *mnt,
30 int allow_dups);
27 31
28/* add a group to the inode group list */ 32/* add a group to the inode group list */
29extern void fsnotify_add_inode_group(struct fsnotify_group *group); 33extern void fsnotify_add_inode_group(struct fsnotify_group *group);
@@ -32,6 +36,8 @@ extern void fsnotify_add_vfsmount_group(struct fsnotify_group *group);
32/* final kfree of a group */ 36/* final kfree of a group */
33extern void fsnotify_final_destroy_group(struct fsnotify_group *group); 37extern void fsnotify_final_destroy_group(struct fsnotify_group *group);
34 38
39/* vfsmount specific destruction of a mark */
40extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark);
35/* inode specific destruction of a mark */ 41/* inode specific destruction of a mark */
36extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark); 42extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark);
37/* run the list of all marks associated with inode and flag them to be freed */ 43/* run the list of all marks associated with inode and flag them to be freed */