]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap.c: pass in mapping to __vma_link_file()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:24 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:46 +0000 (10:36 -0400)
commit91214b7d71c874a3aa2be0c4b35f5a03d5ff807c
tree4209f52f5c37f831b811a3d97f4117fb4e91033d
parent69f819ad355f5a6d599f39c8351b4609190f1391
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