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 tag 'docs-5.0-fix' of git://git.lwn.net/linux
[linux-2.6-microblaze.git]
/
fs
/
pstore
/
ram_core.c
diff --git
a/fs/pstore/ram_core.c
b/fs/pstore/ram_core.c
index
c11711c
..
f375c07
100644
(file)
--- a/
fs/pstore/ram_core.c
+++ b/
fs/pstore/ram_core.c
@@
-357,7
+357,7
@@
int notrace persistent_ram_write_user(struct persistent_ram_zone *prz,
int rem, ret = 0, c = count;
size_t start;
- if (unlikely(!access_ok(
VERIFY_READ,
s, count)))
+ if (unlikely(!access_ok(s, count)))
return -EFAULT;
if (unlikely(c > prz->buffer_size)) {
s += c - prz->buffer_size;