projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/staging/android/ashmem.c
b/drivers/staging/android/ashmem.c
index d140b733940cc3ffd8ea567bb286aa4ed50ac8f4..c5c037ccf32cc0097f25fe16ddc7848cbd41e547 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;