staging/lustre/osc: Do not use lprocfs_write_helper in sysfs store methods
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:46 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:34:00 +0000 (14:34 -0800)
commit0dd48a43fd2591e4b48ae6fd6196779de49dcf51
treedd0c622900907ec26193b9838dc494d8bb6619e7
parentcadffe60eae0a798d5fd5368930684d7d6d0998e
staging/lustre/osc: Do not use lprocfs_write_helper in sysfs store methods

sysfs store methods provide us with a kernel buffer already, but
lprocfs_write_helper is expecting a user buffer.
Replace lprocfs_write_helper with kstrto[u]int() calls instead in
contention_seconds_store() and lockless_truncate_store()

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/lproc_osc.c