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

From: Lorenzo Stoakes (ARM)

Date: Tue Nov 03 2026 - 03:47:09 EST


On Mon, Nov 02, 2026 at 05:54:10PM -0500, Tal Zussman wrote:
> There are no callers left. Remove it.
>
> Signed-off-by: Tal Zussman <tz2294@xxxxxxxxxxxx>

LGTM

Reviewed-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>

> ---
> 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
>

--
Cheers, Lorenzo