Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / mm / madvise.c
index 0938b30da4abbb91aa01e7884c6c236728403dee..a271adc93289f7e84a9a5e56b3b5ffb6b914db63 100644 (file)
@@ -326,7 +326,7 @@ static long madvise_remove(struct vm_area_struct *vma,
         */
        get_file(f);
        up_read(&current->mm->mmap_sem);
-       error = do_fallocate(f,
+       error = vfs_fallocate(f,
                                FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
                                offset, end - start);
        fput(f);