mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
mm: private anonymous memory build fixes for 4.4
Update vma_merge() call in private anonymous memory prctl,
introduced in AOSP commit ee8c5f78f09a
"mm: add a field to store names for private anonymous memory",
so as to align with changes from upstream commit 19a809afe2
"userfaultfd: teach vma_merge to merge across vma->vm_userfaultfd_ctx".
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
parent
586278d78b
commit
29a4f01daa
|
|
@ -2092,7 +2092,7 @@ static int prctl_update_vma_anon_name(struct vm_area_struct *vma,
|
|||
pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT);
|
||||
*prev = vma_merge(mm, *prev, start, end, vma->vm_flags, vma->anon_vma,
|
||||
vma->vm_file, pgoff, vma_policy(vma),
|
||||
name_addr);
|
||||
vma->vm_userfaultfd_ctx, name_addr);
|
||||
if (*prev) {
|
||||
vma = *prev;
|
||||
goto success;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user