staging/lustre/llite: Update all file.c user pointer casts to __user
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:55 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:34:27 +0000 (14:34 -0800)
commit02f9c12e32605446f4ac48be0598b92f0b940764
treec8a1e973bdaa70779d880e5554dd88efc37fc659
parent11be8f6cdc8b0cdeb1d392dfb473f533ef435d0c
staging/lustre/llite: Update all file.c user pointer casts to __user

unsigned long user address must be casted with __user attribute
to make sparse happy when used with userspace access functions.

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