]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/inotify/inotify_fsnotify.c
fsnotify: send fsnotify_mark to groups in event handling functions
[net-next-2.6.git] / fs / notify / inotify / inotify_fsnotify.c
index 3c506e0364cc4cb87d6308335d03d9afaa30ddfe..dbd76bbb3e219f40bfa27bfd2ea104f70e0f807a 100644 (file)
@@ -89,7 +89,9 @@ static struct fsnotify_event *inotify_merge(struct list_head *list,
        return last_event;
 }
 
-static int inotify_handle_event(struct fsnotify_group *group, struct fsnotify_event *event)
+static int inotify_handle_event(struct fsnotify_group *group,
+                               struct fsnotify_mark *mark,
+                               struct fsnotify_event *event)
 {
        struct fsnotify_mark *fsn_mark;
        struct inotify_inode_mark *i_mark;
@@ -148,8 +150,8 @@ static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify
 }
 
 static bool inotify_should_send_event(struct fsnotify_group *group, struct inode *inode,
-                                     struct vfsmount *mnt, __u32 mask, void *data,
-                                     int data_type)
+                                     struct vfsmount *mnt, struct fsnotify_mark *mark,
+                                     __u32 mask, void *data, int data_type)
 {
        struct fsnotify_mark *fsn_mark;
        bool send;