]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fsnotify_backend.h
fsnotify: provide the data type to should_send_event
[net-next-2.6.git] / include / linux / fsnotify_backend.h
index e2528437102086079d741f546a08d2b83230b5f5..61aed0c54fe9edde82a0ee049f9e45da904460fc 100644 (file)
@@ -84,7 +84,8 @@ struct fsnotify_event_private_data;
  *             valid group and inode to use to clean up.
  */
 struct fsnotify_ops {
-       bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode, __u32 mask);
+       bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode,
+                                 __u32 mask, int data_type);
        int (*handle_event)(struct fsnotify_group *group, struct fsnotify_event *event);
        void (*free_group_priv)(struct fsnotify_group *group);
        void (*freeing_mark)(struct fsnotify_mark_entry *entry, struct fsnotify_group *group);