]> 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>
Wed, 8 Dec 2021 19:12:39 +0000 (14:12 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 8 Mar 2022 18:19:13 +0000 (13:19 -0500)
commitdd586e5dd376fc1ef3dbec46ae3722b82e43adcb
tree220148dfdf4b78ea0597d5f5c6e13c98609c49ac
parented3459dab52d53960be29d98ba426e4b43ea8472
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