summaryrefslogtreecommitdiff
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-17 20:56:57 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2024-05-28 04:37:06 +0300
commit3fefd9b594aa6be9f120733f5bb57b07d47871a9 (patch)
treede86455c113d1bbe799ace4f71fef906660b6057 /include/linux/pagemap.h
parentad6c19e5f9323a2e6c6d1316e53f71f305a6a60f (diff)
downloadlinux-3fefd9b594aa6be9f120733f5bb57b07d47871a9.tar.xz
fs: Remove i_blocks_per_page
The last caller has been converted to i_blocks_per_folio() so we can remove this wrapper. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'include/linux/pagemap.h')
-rw-r--r--include/linux/pagemap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 3d69589c00a4..63f2f3602a7f 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -1536,10 +1536,4 @@ unsigned int i_blocks_per_folio(struct inode *inode, struct folio *folio)
{
return folio_size(folio) >> inode->i_blkbits;
}
-
-static inline
-unsigned int i_blocks_per_page(struct inode *inode, struct page *page)
-{
- return i_blocks_per_folio(inode, page_folio(page));
-}
#endif /* _LINUX_PAGEMAP_H */