f2fs: Provide a splice-read wrapper
[linux-block.git] / mm / mmu_notifier.c
index f45ff1b7626a62834073857f9529d5badd51a934..50c0dde1354f456366786cfa35d555df5398ad96 100644 (file)
@@ -1120,13 +1120,3 @@ void mmu_notifier_synchronize(void)
        synchronize_srcu(&srcu);
 }
 EXPORT_SYMBOL_GPL(mmu_notifier_synchronize);
-
-bool
-mmu_notifier_range_update_to_read_only(const struct mmu_notifier_range *range)
-{
-       if (!range->vma || range->event != MMU_NOTIFY_PROTECTION_VMA)
-               return false;
-       /* Return true if the vma still have the read flag set. */
-       return range->vma->vm_flags & VM_READ;
-}
-EXPORT_SYMBOL_GPL(mmu_notifier_range_update_to_read_only);