diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-09-15 19:15:48 +0300 |
---|---|---|
committer | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-09-15 19:15:48 +0300 |
commit | c1358d94ea1fe5705dc7bd4542f262151c9844f6 (patch) | |
tree | 515339e48fa02fc454a241921c18a30d9e215b9f /mm | |
parent | 768bc393d4e78159a2765b0b4bb49ee3375921d1 (diff) | |
parent | a325a7b546ec539ca7877f258bb59beff9ef41fc (diff) | |
download | linux-c1358d94ea1fe5705dc7bd4542f262151c9844f6.tar.gz |
Merge branch 6.1/features/mm-soft-dirty-file
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mprotect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mprotect.c b/mm/mprotect.c index 668bfaa6ed2a..27a665e0b524 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c @@ -54,7 +54,7 @@ static inline bool can_change_pte_writable(struct vm_area_struct *vma, return false; /* Do we need write faults for uffd-wp tracking? */ - if (userfaultfd_pte_wp(vma, pte)) + if (pte_uffd_wp(pte)) return false; if (!(vma->vm_flags & VM_SHARED)) { |