staging/lustre/llite: Update ll_dir_ioctl pointer casts with __user
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:59 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:34:27 +0000 (14:34 -0800)
commitaf00f6c5ac2470b44cba595cbc17160e60356d08
tree24e9225462fe3d507c585a80e14a3325c596b3d1
parentd47bb83b1bb778fb8429dc1f12a137039cee4e14
staging/lustre/llite: Update ll_dir_ioctl pointer casts with __user

When casting unsingned long userspace pointer from ioctl argument to
a pointer suitable for use with userspace access functions, need
to remember to add __user attribute, to make sparse happy.

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