mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-05-02 23:43:48 -04:00
fs: remove page_file_mapping()
This wrapper has no more callers. Delete it. Link: https://lkml.kernel.org/r/20250217192009.437916-2-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
63a23847dc
commit
52d671a1a3
@@ -575,11 +575,6 @@ static inline struct address_space *folio_flush_mapping(struct folio *folio)
|
||||
return folio_mapping(folio);
|
||||
}
|
||||
|
||||
static inline struct address_space *page_file_mapping(struct page *page)
|
||||
{
|
||||
return folio_file_mapping(page_folio(page));
|
||||
}
|
||||
|
||||
/**
|
||||
* folio_inode - Get the host inode for this folio.
|
||||
* @folio: The folio.
|
||||
|
||||
Reference in New Issue
Block a user