From eeb918d7e2ab4e3a0ab55c6d5f6bd6fd09047cea Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Sun, 1 Nov 2020 20:02:10 -0500 Subject: [PATCH] mm/mmap: Fux mm->map reference to mm->mmap after rebase Signed-off-by: Liam R. Howlett --- mm/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mmap.c b/mm/mmap.c index 3e4c792d15b5..0fdd2dc546d4 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2656,7 +2656,7 @@ int __do_munmap(struct mm_struct *mm, unsigned long start, size_t len, * unlock any mlock()ed ranges before detaching vmas */ if (mm->locked_vm) - unlock_range(mm->map, end); + unlock_range(mm->mmap, end); /* Detach vmas from the MM linked list and remove from the mm tree*/ if (!detach_vmas_to_be_unmapped(mm, vma, prev, end)) -- 2.50.1