mm: use page_pgoff() in more places
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 5 Oct 2024 20:01:13 +0000 (21:01 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Nov 2024 22:38:07 +0000 (14:38 -0800)
commit7d3e93eca3ca28bb5927b09b9b603c0c995bcd24
treed44920fbe06bd7ea5492b01188afc8c47537c03c
parentf7470591f8db1a72ce9f7ab49cb13c2b21b92002
mm: use page_pgoff() in more places

There are several places which currently open-code page_pgoff(), convert
them to call it.

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