summaryrefslogtreecommitdiffstats
path: root/fs/notify/fsnotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/fsnotify.h')
-rw-r--r--fs/notify/fsnotify.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h
index 510f027bdf0f..72050b75ca8c 100644
--- a/fs/notify/fsnotify.h
+++ b/fs/notify/fsnotify.h
@@ -20,19 +20,19 @@ extern int fsnotify_compare_groups(struct fsnotify_group *a,
20 20
21/* Find mark belonging to given group in the list of marks */ 21/* Find mark belonging to given group in the list of marks */
22extern struct fsnotify_mark *fsnotify_find_mark( 22extern struct fsnotify_mark *fsnotify_find_mark(
23 struct fsnotify_mark_connector *conn, 23 struct fsnotify_mark_connector __rcu **connp,
24 struct fsnotify_group *group); 24 struct fsnotify_group *group);
25/* Destroy all marks connected via given connector */ 25/* Destroy all marks connected via given connector */
26extern void fsnotify_destroy_marks(struct fsnotify_mark_connector *conn); 26extern void fsnotify_destroy_marks(struct fsnotify_mark_connector __rcu **connp);
27/* run the list of all marks associated with inode and destroy them */ 27/* run the list of all marks associated with inode and destroy them */
28static inline void fsnotify_clear_marks_by_inode(struct inode *inode) 28static inline void fsnotify_clear_marks_by_inode(struct inode *inode)
29{ 29{
30 fsnotify_destroy_marks(inode->i_fsnotify_marks); 30 fsnotify_destroy_marks(&inode->i_fsnotify_marks);
31} 31}
32/* run the list of all marks associated with vfsmount and destroy them */ 32/* run the list of all marks associated with vfsmount and destroy them */
33static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) 33static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt)
34{ 34{
35 fsnotify_destroy_marks(real_mount(mnt)->mnt_fsnotify_marks); 35 fsnotify_destroy_marks(&real_mount(mnt)->mnt_fsnotify_marks);
36} 36}
37/* prepare for freeing all marks associated with given group */ 37/* prepare for freeing all marks associated with given group */
38extern void fsnotify_detach_group_marks(struct fsnotify_group *group); 38extern void fsnotify_detach_group_marks(struct fsnotify_group *group);