mm/filemap: Add i_blocks_per_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 28 Apr 2021 03:11:28 +0000 (23:11 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 18 Oct 2021 11:49:40 +0000 (07:49 -0400)
commit9eb7c76dd31a53331bec795faaf7daa7ffb80071
treee13b2aabb174b0d3902a11dbcbd171d98f946aa6
parentcd78ab11a8810dd297f4751d17cc53e3dce36024
mm/filemap: Add i_blocks_per_folio()

Reimplement i_blocks_per_page() as a wrapper around i_blocks_per_folio().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/pagemap.h