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, 20 Dec 2024 15:30:39 +0000 (08:30 -0700)
commit86d34b8d54d5e736055105fa03c64e3f673ee67a
treec7b7d240eeb83ed4e9d83d5dc5db898705e68be7
parent504b77e9a4a84ad872794c1316389f391af7acef
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.

Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/readahead.c