fsnotify: include vfsmount in should_send_event when appropriate
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / fsnotify_backend.h
index dea48be..c2a04b7 100644 (file)
@@ -79,7 +79,8 @@ struct fsnotify_event_private_data;
  */
 struct fsnotify_ops {
        bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode,
-                                 __u32 mask, void *data, int data_type);
+                                 struct vfsmount *mnt, __u32 mask, void *data,
+                                 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);