fsnotify: constify 'data' passed to ->handle_event()
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / include / linux / fsnotify_backend.h
index 79467b239fcfff1804e94fb111153fe615a1de67..d357041bbec8eeccc0b26c86878764d487f33946 100644 (file)
@@ -96,7 +96,7 @@ struct fsnotify_ops {
                            struct inode *inode,
                            struct fsnotify_mark *inode_mark,
                            struct fsnotify_mark *vfsmount_mark,
-                           u32 mask, void *data, int data_type,
+                           u32 mask, const void *data, int data_type,
                            const unsigned char *file_name, u32 cookie);
        void (*free_group_priv)(struct fsnotify_group *group);
        void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);