]> 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>
Wed, 20 Jan 2021 14:28:15 +0000 (09:28 -0500)
commitb031810b28d55168874f208ffbd6e75b2557eeb2
tree571e47ed8139eed1596cc2b590526aab88b5471b
parentc7214daee2c2e38aa2a519c97992ac689a9a4a5a
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