Re: [PATCH 01/12] mm/filemap: change filemap_create_folio() to take a struct kiocb
From: Matthew Wilcox
Date: Fri Dec 20 2024 - 11:12:17 EST
On Fri, Dec 20, 2024 at 08:47:39AM -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.
>
> Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>