]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap.c: Pass in mapping to __vma_link_file() maple_v5.17-rc2
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 8 Dec 2021 19:12:39 +0000 (14:12 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 11 Feb 2022 03:38:10 +0000 (22:38 -0500)
commit0fc64eab4828033095940def55d4615fb3fd4965
tree959cabde26b0e14177df139558a53df54011b14b
parent1b388ff90ddb763933915ba159b8664fa7c948b3
mm/mmap.c: Pass in mapping to __vma_link_file()

__vma_link_file() resolves the mapping from the file, if there is one.
Pass through the mapping and check the vm_file externally since most
places already have the required information and check of vm_file.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
mm/mmap.c