]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fsnotify_backend.h
fsnotify: send fsnotify_mark to groups in event handling functions
[net-next-2.6.git] / include / linux / fsnotify_backend.h
index 84159390969f77b69acbe11f3f8dd4468b12bf08..225dc0c3a48cccb5b2e4cafb2c3887f57a8deac6 100644 (file)
@@ -92,9 +92,10 @@ struct fsnotify_event_private_data;
  */
 struct fsnotify_ops {
        bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode,
-                                 struct vfsmount *mnt, __u32 mask, void *data,
-                                 int data_type);
-       int (*handle_event)(struct fsnotify_group *group, struct fsnotify_event *event);
+                                 struct vfsmount *mnt, struct fsnotify_mark *mark,
+                                 __u32 mask, void *data, int data_type);
+       int (*handle_event)(struct fsnotify_group *group, struct fsnotify_mark *mark,
+                           struct fsnotify_event *event);
        void (*free_group_priv)(struct fsnotify_group *group);
        void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
        void (*free_event_priv)(struct fsnotify_event_private_data *priv);