]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap.c: pass in mapping to __vma_link_file() howlett/maple/20220906
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 20 Jul 2022 02:18:05 +0000 (02:18 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 6 Sep 2022 19:44:26 +0000 (15:44 -0400)
commitd210e78f94657426c89e67cf857107208e158839
tree42ac72076bacca05966fcc509d8ea05555f8fb91
parent15380951e5bbfac7e49ff41b2f2d657aa3fb0c10
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