VFS: Rename do_fallocate() to vfs_fallocate()
[deliverable/linux.git] / drivers / staging / android / ashmem.c
index 713a9722678746f24363e3b9f3f4a0f89cc145ad..27eecfe1c410650984304032e5bc4289bcabc5cc 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;
 
@@ -446,7 +446,7 @@ ashmem_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
                loff_t start = range->pgstart * PAGE_SIZE;
                loff_t end = (range->pgend + 1) * PAGE_SIZE;
 
-               do_fallocate(range->asma->file,
+               vfs_fallocate(range->asma->file,
                                FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
                                start, end - start);
                range->purged = ASHMEM_WAS_PURGED;
This page took 0.029427 seconds and 5 git commands to generate.