Re: [PATCH 01/12] mm/filemap: change filemap_create_folio() to take a struct kiocb

From: Christoph Hellwig
Date: Tue Dec 10 2024 - 06:17:39 EST


On Tue, Dec 03, 2024 at 08:31:37AM -0700, Jens Axboe wrote:
> +static int filemap_create_folio(struct kiocb *iocb,
> + struct address_space *mapping, struct folio_batch *fbatch)

We might as well drop passing the mapping and deriving it from the iocb
as well.

Otherwise this looks fine to me.