Message ID | 20171206004159.3755-66-willy@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/dax.c b/fs/dax.c index c663d82e8ba3..7a86ff1153dd 100644 --- a/fs/dax.c +++ b/fs/dax.c @@ -531,6 +531,7 @@ static void dax_mapping_entry_mkclean(struct address_space *mapping, */ if (follow_pte_pmd(vma->vm_mm, address, &start, &end, &ptep, &pmdp, &ptl)) continue; + __acquire(ptl); /* Conditionally acquired above */ /* * No need to call mmu_notifier_invalidate_range() as we are