projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d04c8a
)
ashmem: use __vfs_read()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 3 Apr 2015 19:09:38 +0000
(15:09 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 12 Apr 2015 02:29:38 +0000
(22:29 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/android/ashmem.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ashmem.c
b/drivers/staging/android/ashmem.c
index
d140b73
..
c5c037c
100644
(file)
--- a/
drivers/staging/android/ashmem.c
+++ b/
drivers/staging/android/ashmem.c
@@
-310,7
+310,7
@@
static ssize_t ashmem_read(struct file *file, char __user *buf,
* be destroyed until all references to the file are dropped and
* ashmem_release is called.
*/
- ret =
asma->file->f_op->
read(asma->file, buf, len, pos);
+ ret =
__vfs_
read(asma->file, buf, len, pos);
if (ret >= 0) {
/** Update backing file pos, since f_ops->read() doesn't */
asma->file->f_pos = *pos;