From: Oleg Drokin Date: Sun, 3 Jan 2016 22:53:40 +0000 (-0500) Subject: LU-7623 mdt: Match up prototype and definition of mdt_hsm_cdt_control_seq_write X-Git-Tag: 2.7.90~6 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=f5f3725d43b30ea9af3928ebb5bfd6fdc2c5c964;ds=sidebyside LU-7623 mdt: Match up prototype and definition of mdt_hsm_cdt_control_seq_write Change-Id: I2cc59f8d165358e5256f59106ba819dfb50db85c Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/17789 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: John L. Hammond Reviewed-by: Dmitry Eremin --- diff --git a/lustre/mdt/mdt_internal.h b/lustre/mdt/mdt_internal.h index 310d484..d6256fd 100644 --- a/lustre/mdt/mdt_internal.h +++ b/lustre/mdt/mdt_internal.h @@ -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);