Skip to content

Commit 3fefd9b

Browse files
Matthew Wilcox (Oracle)kleikamp
authored andcommitted
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>
1 parent ad6c19e commit 3fefd9b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/linux/pagemap.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,10 +1536,4 @@ unsigned int i_blocks_per_folio(struct inode *inode, struct folio *folio)
15361536
{
15371537
return folio_size(folio) >> inode->i_blkbits;
15381538
}
1539-
1540-
static inline
1541-
unsigned int i_blocks_per_page(struct inode *inode, struct page *page)
1542-
{
1543-
return i_blocks_per_folio(inode, page_folio(page));
1544-
}
15451539
#endif /* _LINUX_PAGEMAP_H */

0 commit comments

Comments
 (0)