mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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>
This commit is contained in:
parent
ad6c19e5f9
commit
3fefd9b594
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user