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>
Sun, 10 Nov 2024 13:51:52 +0000 (06:51 -0700)
commit10afef46263d043e0f1562ecf3665939020a2ef0
tree69380694e62090cb8b0b72fb67b1d514b2090417
parentde2f378f2b771b39594c04695feee86476743a69
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