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>
Thu, 14 Nov 2024 03:00:27 +0000 (20:00 -0700)
commit8f72847600822f4037125551e057ac61cf815592
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