]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmap: Use find_vma_intersection in do_mmap() for overlap
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 24 Nov 2020 21:23:38 +0000 (16:23 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 29 Jan 2021 16:07:55 +0000 (11:07 -0500)
commit68ea6e78a7ebb305d21fd903fff239ab062129e1
tree7872da4c203e2f7057571567fcbc6dc6f322f958
parente8ea5d32f9de65efb14c3b01f8897913817ec0e5
mmap: Use find_vma_intersection in do_mmap() for overlap

When detecting a conflict with MAP_FIXED_NOREPLACE, using the new interface avoids
the need for a temp variable

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