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>
Sun, 1 Dec 2024 22:55:24 +0000 (15:55 -0700)
commit2023ec4c4d21a7c0874031271f431a3bb79b1dfc
tree7f505fa31db7a8b9d764f1e792658cb3299cc26d
parentfca86dd595c876088cc806a0a6f87d7051fba008
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