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>
Wed, 20 Nov 2024 14:30:16 +0000 (07:30 -0700)
commit2eba8f943ea695c7aede69b00009f0d499219593
treed81621d544bd6d1eed174cf877a297905d7025fb
parentd0e87c140ff33e714ae0aad13a8fc7e8854de017
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