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>
Mon, 11 Nov 2024 01:20:17 +0000 (18:20 -0700)
commit04ddb4c0a57c06218eec6e81637cd91a42fbcd35
tree28bfeb17ac68f1ea173d7639f413a66fd28fcf41
parent8d41c4e832766f7b8d253d0d9c2e90a144001841
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