summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-03 15:09:38 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-11 22:29:38 -0400
commite145286685fe6a9eb3f984832b0667d0407081b1 (patch)
treec0833d0355c5571c5a84355e175ca8053260e0d9 /drivers/staging
parent3d04c8a17f1a0041a6851cf64f3da8c40deed837 (diff)
downloadlinux-e145286685fe6a9eb3f984832b0667d0407081b1.tar.gz
linux-e145286685fe6a9eb3f984832b0667d0407081b1.tar.bz2
linux-e145286685fe6a9eb3f984832b0667d0407081b1.zip
ashmem: use __vfs_read()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/android/ashmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
index d140b733940c..c5c037ccf32c 100644
--- 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;