fsnotify: use unsigned char * for dentry->d_name.name
[firefly-linux-kernel-4.4.55.git] / fs / notify / notification.c
index 2d50a40ab1e4f1f9437b5ba14b7ab2b768b1a03c..b35faafacd3830869e7b7fbe96207977eebd16e4 100644 (file)
@@ -370,8 +370,8 @@ struct fsnotify_event *fsnotify_clone_event(struct fsnotify_event *old_event)
  * @name the filename, if available
  */
 struct fsnotify_event *fsnotify_create_event(struct inode *to_tell, __u32 mask, void *data,
-                                            int data_type, const char *name, u32 cookie,
-                                            gfp_t gfp)
+                                            int data_type, const unsigned char *name,
+                                            u32 cookie, gfp_t gfp)
 {
        struct fsnotify_event *event;