]> Git Repo - linux.git/blobdiff - fs/dax.c
ACPI: power: Turn off unused power resources unconditionally
[linux.git] / fs / dax.c
index 26d5dcd2d69e5c0afd2c93d7042b54c3324b7342..b3d27fdc67752df52637bccdbde008c0086aa312 100644 (file)
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -810,11 +810,12 @@ static void dax_entry_mkclean(struct address_space *mapping, pgoff_t index,
                address = pgoff_address(index, vma);
 
                /*
-                * Note because we provide range to follow_pte it will call
+                * follow_invalidate_pte() will use the range to call
                 * mmu_notifier_invalidate_range_start() on our behalf before
                 * taking any lock.
                 */
-               if (follow_pte(vma->vm_mm, address, &range, &ptep, &pmdp, &ptl))
+               if (follow_invalidate_pte(vma->vm_mm, address, &range, &ptep,
+                                         &pmdp, &ptl))
                        continue;
 
                /*
This page took 0.034958 seconds and 4 git commands to generate.