projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging/lustre: Properly cast ll_getname argument to __user in ll_dir_ioctl
[deliverable/linux.git]
/
drivers
/
staging
/
lustre
/
lustre
/
llite
/
dir.c
diff --git
a/drivers/staging/lustre/lustre/llite/dir.c
b/drivers/staging/lustre/lustre/llite/dir.c
index 15b8e0a444faede8ca042ca3350803af5df1962f..fc68e8b4c1767a82dfe7366f0da84f8c53e55205 100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/dir.c
+++ b/
drivers/staging/lustre/lustre/llite/dir.c
@@
-1448,7
+1448,7
@@
free_lmv:
if (cmd == IOC_MDC_GETFILEINFO ||
cmd == IOC_MDC_GETFILESTRIPE) {
- filename = ll_getname((const char *)arg);
+ filename = ll_getname((const char
__user
*)arg);
if (IS_ERR(filename))
return PTR_ERR(filename);
This page took
0.032969 seconds
and
5
git commands to generate.