From: Al Viro Date: Tue, 19 Aug 2014 15:08:22 +0000 (-0400) Subject: ashmem: use vfs_llseek() X-Git-Tag: MMI-PSA29.97-13-9~11374^2~31 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=91360b02ab48;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ashmem: use vfs_llseek() Signed-off-by: Al Viro --- 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;