[PATCH 5/8] mm: remove find_get_page_flags()

From: Tal Zussman

Date: Mon Nov 02 2026 - 17:56:16 EST


There are no callers left. Remove it.

Signed-off-by: Tal Zussman <tz2294@xxxxxxxxxxxx>
---
include/linux/pagemap.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 37b7786350c5..00e32f96b459 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -846,12 +846,6 @@ static inline struct page *find_get_page(struct address_space *mapping,
return pagecache_get_page(mapping, offset, 0, 0);
}

-static inline struct page *find_get_page_flags(struct address_space *mapping,
- pgoff_t offset, fgf_t fgp_flags)
-{
- return pagecache_get_page(mapping, offset, fgp_flags, 0);
-}
-
/**
* find_lock_page - locate, pin and lock a pagecache page
* @mapping: the address_space to search

--
2.39.5