]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Drop range_has_overlap() function
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 18 Jun 2021 19:06:12 +0000 (15:06 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 1 Nov 2021 14:43:50 +0000 (10:43 -0400)
commit328f975716869cd383e778566a11e33d0cf52f11
treedf6b91988bf48cf100c8c68c483f83a1e8b320b2
parent5e965b9115075cda9aa6a6f867d70ae21fa59598
mm/mmap: Drop range_has_overlap() function

Since there is no longer a linked list, the range_has_overlap() function
is identical to the find_vma_intersection() function.  There is only one
place that actually needs the previous vma, so just use vma_prev() in
that one case.

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