mm: remove vma_address()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Mar 2024 22:58:28 +0000 (22:58 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:31 +0000 (20:56 -0700)
commit412ad5fbe9285fd8066d3b977db0cd7fb39f671d
tree1689ab1370dfdfd09fd147e5a1a8d8c572384eaf
parent7e8347413e5bc4d54712942dad43bfcf2501ab3b
mm: remove vma_address()

Convert the three remaining callers to call vma_pgoff_address() directly.
This removes an ambiguity where we'd check just one page if passed a tail
page and all N pages if passed a head page.

Also add better kernel-doc for vma_pgoff_address().

Link: https://lkml.kernel.org/r/20240328225831.1765286-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/internal.h
mm/rmap.c