Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-7623 Update obd iocontrol methods with __user attribute
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_request.c
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
2ab31b4
..
72871ae
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-2265,7
+2265,7
@@
static int osc_statfs(const struct lu_env *env, struct obd_export *exp,
}
static int osc_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
}
static int osc_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
-
void *karg, void
*uarg)
+
void *karg, void __user
*uarg)
{
struct obd_device *obd = exp->exp_obd;
struct obd_ioctl_data *data = karg;
{
struct obd_device *obd = exp->exp_obd;
struct obd_ioctl_data *data = karg;