projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove 'type' argument from access_ok() function
[linux-2.6-block.git]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index a7f91265ea671d0f6ebe59d2b9fb0f91bd6155cf..97b7c7098c3dd4ffe44f91c79ba05381147ae7f3 100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-2651,7
+2651,7
@@
static long exact_copy_from_user(void *to, const void __user * from,
const char __user *f = from;
char c;
- if (!access_ok(
VERIFY_READ,
from, n))
+ if (!access_ok(from, n))
return n;
current->kernel_uaccess_faults_ok++;