[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48e6f7f8-1a38-0447-9e6e-d53be4f1bbef@arm.com>
Date: Thu, 25 May 2023 11:07:47 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
linux-arch@...r.kernel.org
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 29/36] mm: Remove page_mapping_file()
On 3/15/23 10:44, Matthew Wilcox (Oracle) wrote:
> This function has no more users.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@....com>
> ---
> include/linux/pagemap.h | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
> index e56c2023aa0e..a87113055b9c 100644
> --- a/include/linux/pagemap.h
> +++ b/include/linux/pagemap.h
> @@ -394,14 +394,6 @@ static inline struct address_space *page_file_mapping(struct page *page)
> return folio_file_mapping(page_folio(page));
> }
>
> -/*
> - * For file cache pages, return the address_space, otherwise return NULL
> - */
> -static inline struct address_space *page_mapping_file(struct page *page)
> -{
> - return folio_flush_mapping(page_folio(page));
> -}
> -
> /**
> * folio_inode - Get the host inode for this folio.
> * @folio: The folio.
Powered by blists - more mailing lists