]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Drop range_has_overlap() function maple_v5.15-rc3_mmap_lock
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 18 Jun 2021 19:06:12 +0000 (15:06 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 22 Oct 2021 00:27:53 +0000 (20:27 -0400)
commitcc77b5d29cf01a20320f64da2fd51f96727e9e6e
tree0edeec7db684a7d67d5c3b25bccbde37fd6bd088
parent8bde22dfe763f617c86d7fb3a58851ef44df6ca7
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