Re: [PATCH v15 05/17] iomap: Convert iomap_page_release to take a folio

Christoph Hellwig
2021-07-20T11:44:38Z

On Tue, Jul 20, 2021 at 12:29:23PM +0100, Matthew Wilcox wrote:
> Probably even better ...
>
> struct inode *inode = folio->mapping->host;
> unsigned int nr_blocks = i_blocks_per_folio(inode, folio);

Fine with me.