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 15:19:55 +0000 (08:19 -0700)
commit795014e590d3ae708e0ef0994858b725e0942a6f
tree71e9cccdea5c3e97696713d2b79677066522f224
parentc109bf8dfff830004b38058f04c0c36add466573
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