readahead: Use a folio in read_pages()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 31 Mar 2022 18:15:59 +0000 (14:15 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 18:45:56 +0000 (14:45 -0400)
commita42634a6c07d5a66e8ad446ad0f184c0c78012ff
treebfe369d13c1ff0ad7e4360d8f120fc08a6f2a93e
parent2ca456c24801e439256c0ec7dbe21eba7b01544e
readahead: Use a folio in read_pages()

Handle multi-page folios correctly and removes a few calls to
compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
mm/readahead.c