]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap.c: Pass in mapping to __vma_link_file() maple_v5.16-rc5
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>
Thu, 16 Dec 2021 03:01:37 +0000 (22:01 -0500)
commit2a42b3cd2a15263ccc165c9e1101e2e79ca50b73
treed6df77cce5d0f16c63da562e5823fe025022ee3f
parent1c06962b284b5d29a8fc459c5fe21caf96790795
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