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, 1 Dec 2024 22:55:24 +0000 (15:55 -0700)
commitfca86dd595c876088cc806a0a6f87d7051fba008
tree26c23124480713b0a761e5c6c0c59673105575fc
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
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