mm/readahead: add folio allocation helper
authorJens Axboe <axboe@kernel.dk>
Thu, 7 Nov 2024 19:06:31 +0000 (12:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 01:59:59 +0000 (18:59 -0700)
commitbed4236939a97056b22bd898f179735320d5cc37
tree71e9cccdea5c3e97696713d2b79677066522f224
parent7eac34464de964a0ef3d30b1bd964495bceb37d0
mm/readahead: add folio allocation helper

Just a wrapper around filemap_alloc_folio() for now, but add it in
preparation for modifying the folio based on the 'ractl' being passed
in.

No functional changes in this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/readahead.c