Whamcloud - gitweb
LU-5396: define __user for userspace 80/11480/2
authorFrank Zago <fzago@cray.com>
Fri, 15 Aug 2014 19:06:34 +0000 (14:06 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Aug 2014 15:58:06 +0000 (15:58 +0000)
commit5909199f4a32a0a80b053c0a2782d3b4b6ccd5c3
treebfe5ef05f027920a4dff0ef8efc4490875805171
parentefae60645fe9b60e2b0fc9ee82b4fe39e488f6e4
LU-5396: define __user for userspace

Structures used by ioctl are shared with the kernel. Some of these
structures will have the __user annotation for sparse, and thus __user
needs to be defined in user space

Change-Id: I2a4087a2faea0849cc816515c4aa9871699acf55
Signed-off-by: frank zago <fzago@cray.com>
Reviewed-on: http://review.whamcloud.com/11480
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/types.h