ashmem: use vfs_llseek()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 19 Aug 2014 15:08:22 +0000 (11:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:04 +0000 (02:39 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/android/ashmem.c

index 713a9722678746f24363e3b9f3f4a0f89cc145ad..ad4f5790a76f5005fbb9d55fcf67cb85bf887770 100644 (file)
@@ -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;