]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - mm/userfaultfd.c
Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[thirdparty/linux.git] / mm / userfaultfd.c
index 0fc69efa4f1ff8a2acda394f501d1009c957d1ae..96d9eae5c7cc8e21e2fd7d6c8dacb172ab6e7e90 100644 (file)
@@ -86,7 +86,7 @@ int mfill_atomic_install_pte(pmd_t *dst_pmd,
        if (page_in_cache && !vm_shared)
                writable = false;
        if (writable)
-               _dst_pte = pte_mkwrite(_dst_pte);
+               _dst_pte = pte_mkwrite(_dst_pte, dst_vma);
        if (flags & MFILL_ATOMIC_WP)
                _dst_pte = pte_mkuffd_wp(_dst_pte);