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

From: Kirill A. Shutemov
Date: Fri Dec 20 2024 - 05:52:26 EST


On Fri, Dec 13, 2024 at 08:55:15AM -0700, Jens Axboe wrote:
> Rather than pass in both the file and position directly from the kiocb,
> just take a struct kiocb instead. With the kiocb being passed in, skip
> passing in the address_space separately as well. While doing so, move the
> ki_flags checking into filemap_create_folio() as well. In preparation for
> actually needing the kiocb in the function.
>
> No functional changes in this patch.
>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>

Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

--
Kiryl Shutsemau / Kirill A. Shutemov