mm: pass a folio to swap_readpage_bdev_async()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 13 Dec 2023 21:58:37 +0000 (21:58 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:31 +0000 (11:58 -0800)
commit3c3ebd82e0d1e77df7a3906e79b42d8f0793bdd7
tree3550dd0936877098f1fbe5f700b03379a25dbfd9
parent2c184d821eec55f9ea3c98c67dc2b0c5ec827c87
mm: pass a folio to swap_readpage_bdev_async()

Make it plain that this takes the head page (which before this point
was just an assumption, but is now enforced by the compiler).

Link: https://lkml.kernel.org/r/20231213215842.671461-9-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_io.c