mm/filemap: change filemap_create_folio() to take a struct kiocb
authorJens Axboe <axboe@kernel.dk>
Thu, 7 Nov 2024 19:04:53 +0000 (12:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Nov 2024 01:20:17 +0000 (18:20 -0700)
commit8d41c4e832766f7b8d253d0d9c2e90a144001841
treeb77ffb5fe0bc4bbcd8f1b9d184636fc7a833c430
parent2d5404caa8c7bb5c4e0435f94b28834ae5456623
mm/filemap: change filemap_create_folio() to take a struct kiocb

Rather than pass in both the file and position directly from the kiocb,
just take a struct kiocb instead. 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@kernel.dk>
mm/filemap.c