projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'parisc-4.21-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-2.6-microblaze.git]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index
a7f9126
..
97b7c70
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++;