mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02: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:
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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user