Whamcloud - gitweb
LU-7623 mdt: Match up prototype and definition of mdt_hsm_cdt_control_seq_write 89/17789/6
authorOleg Drokin <oleg.drokin@intel.com>
Sun, 3 Jan 2016 22:53:40 +0000 (17:53 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 5 Feb 2016 16:52:57 +0000 (16:52 +0000)
Change-Id: I2cc59f8d165358e5256f59106ba819dfb50db85c
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/17789
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lustre/mdt/mdt_internal.h

index 310d484..d6256fd 100644 (file)
@@ -867,8 +867,9 @@ int mdt_hsm_cdt_fini(struct mdt_device *mdt);
 int mdt_hsm_cdt_wakeup(struct mdt_device *mdt);
 
 /* coordinator control /proc interface */
-ssize_t mdt_hsm_cdt_control_seq_write(struct file *file, const char *buffer,
-                                       size_t count, loff_t *off);
+ssize_t mdt_hsm_cdt_control_seq_write(struct file *file,
+                                     const char __user *buffer,
+                                     size_t count, loff_t *off);
 int mdt_hsm_cdt_control_seq_show(struct seq_file *m, void *data);
 int hsm_cdt_procfs_init(struct mdt_device *mdt);
 void hsm_cdt_procfs_fini(struct mdt_device *mdt);