X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ffld%2Flproc_fld.c;h=8dd6fe4e51fe46d3fb8ad73b53469ff7150af607;hb=73c12f4d6c98476c0dc5de77a646a157db727eef;hp=fd8ddf344625a1b21daed8af85b8b01147101f62;hpb=1f1d3a376d488d715dd1b0c94d5b66ea05c1e6ca;p=fs%2Flustre-release.git diff --git a/lustre/fld/lproc_fld.c b/lustre/fld/lproc_fld.c index fd8ddf3..8dd6fe4 100644 --- a/lustre/fld/lproc_fld.c +++ b/lustre/fld/lproc_fld.c @@ -85,7 +85,7 @@ fld_proc_hash_seq_show(struct seq_file *m, void *unused) } static ssize_t -fld_proc_hash_seq_write(struct file *file, const char *buffer, +fld_proc_hash_seq_write(struct file *file, const char __user *buffer, size_t count, loff_t *off) { struct lu_client_fld *fld = ((struct seq_file *)file->private_data)->private; @@ -118,7 +118,7 @@ fld_proc_hash_seq_write(struct file *file, const char *buffer, } static ssize_t -lprocfs_cache_flush_seq_write(struct file *file, const char *buffer, +lprocfs_cache_flush_seq_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) { struct lu_client_fld *fld = ((struct seq_file *)file->private_data)->private;