Skip to content

Commit 52d671a

Browse files
Matthew Wilcox (Oracle)akpm00
authored andcommitted
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>
1 parent 63a2384 commit 52d671a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/linux/pagemap.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,6 @@ static inline struct address_space *folio_flush_mapping(struct folio *folio)
575575
return folio_mapping(folio);
576576
}
577577

578-
static inline struct address_space *page_file_mapping(struct page *page)
579-
{
580-
return folio_file_mapping(page_folio(page));
581-
}
582-
583578
/**
584579
* folio_inode - Get the host inode for this folio.
585580
* @folio: The folio.

0 commit comments

Comments
 (0)