]> www.infradead.org Git - users/willy/linux.git/commit
mm/mmap: Drop range_has_overlap() function maple-neolock
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 18 Jun 2021 19:06:12 +0000 (15:06 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 20:00:35 +0000 (16:00 -0400)
commitff3723cb72d48a9028ead0d2ac721dd9bce0600c
treea5bfebf01278856e72e903b9239eb1c21e5bc833
parentdff98c0d1bca0ddac144c503c1907de19d5a30eb
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