summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-19 11:08:22 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 02:39:04 -0400
commit91360b02ab483fc96a70b8c3016838f5d3725f99 (patch)
tree9f0c2c11f06ee3dc77332449aff83b521c3bf2bc /drivers
parent4b8e992392a2468f90ae8b5b9f3e95c5f54a61c9 (diff)
downloadlinux-stable-91360b02ab483fc96a70b8c3016838f5d3725f99.tar.gz
linux-stable-91360b02ab483fc96a70b8c3016838f5d3725f99.tar.bz2
linux-stable-91360b02ab483fc96a70b8c3016838f5d3725f99.zip
ashmem: use vfs_llseek()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-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 713a97226787..ad4f5790a76f 100644
--- a/drivers/staging/android/ashmem.c
+++ b/drivers/staging/android/ashmem.c
@@ -339,7 +339,7 @@ static loff_t ashmem_llseek(struct file *file, loff_t offset, int origin)
goto out;
}
- ret = asma->file->f_op->llseek(asma->file, offset, origin);
+ ret = vfs_llseek(asma->file, offset, origin);
if (ret < 0)
goto out;