staging/lustre/llite: pass correct pointer to obd_iocontrol()
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 22 Jan 2014 13:36:14 +0000 (21:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 17:44:16 +0000 (09:44 -0800)
commitb0337d6c101bbb5be0fe249c05373cce4d24986c
tree88217574f8d85f144c5ad68c1c9664ca2d3c9e27
parent4f2fb455a1dcdf3cacf30382460c3706cf7e66d1
staging/lustre/llite: pass correct pointer to obd_iocontrol()

In copy_and_ioctl() use the kernel space copy as the karg to
obd_iocontrol().

Lustre-change: http://review.whamcloud.com/6274
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3283
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Sebastien Buisson <sebastien.buisson@bull.net>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c