summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-17 22:20:07 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 08:06:22 +0300
commit52d671a1a36a16f3a0dd9a2beff964e75bce9787 (patch)
tree3798ae502dc0ab737877c4568756df9f9d2d6a46 /include
parent63a23847dc47113b879a5f53cc0ca5cedc881ffd (diff)
downloadlinux-52d671a1a36a16f3a0dd9a2beff964e75bce9787.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pagemap.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 47bfc6b1b632..975c56fb4f85 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -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.