aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLino Sanfilippo <LinoSanfilippo@gmx.de>2011-06-14 11:29:51 -0400
committerEric Paris <eparis@redhat.com>2012-12-11 13:44:36 -0500
commite2a29943e9a2ee2aa737a77f550f46ba72269db4 (patch)
treecf0275eeed130433df241f115cbd2f9ebea96e7f /include
parent986ab09807ca9454c3f54aae4db7e1bb00daeed3 (diff)
fsnotify: pass group to fsnotify_destroy_mark()
In fsnotify_destroy_mark() dont get the group from the passed mark anymore, but pass the group itself as an additional parameter to the function. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsnotify_backend.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index c5848346840d..140b4b8a100b 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -408,8 +408,9 @@ extern void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask
408/* attach the mark to both the group and the inode */ 408/* attach the mark to both the group and the inode */
409extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, 409extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group,
410 struct inode *inode, struct vfsmount *mnt, int allow_dups); 410 struct inode *inode, struct vfsmount *mnt, int allow_dups);
411/* given a mark, flag it to be freed when all references are dropped */ 411/* given a group and a mark, flag mark to be freed when all references are dropped */
412extern void fsnotify_destroy_mark(struct fsnotify_mark *mark); 412extern void fsnotify_destroy_mark(struct fsnotify_mark *mark,
413 struct fsnotify_group *group);
413/* run all the marks in a group, and clear all of the vfsmount marks */ 414/* run all the marks in a group, and clear all of the vfsmount marks */
414extern void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group); 415extern void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group);
415/* run all the marks in a group, and clear all of the inode marks */ 416/* run all the marks in a group, and clear all of the inode marks */