mm: pass a folio to swap_readpage_bdev_sync()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 13 Dec 2023 21:58:36 +0000 (21:58 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:31 +0000 (11:58 -0800)
commit2c184d821eec55f9ea3c98c67dc2b0c5ec827c87
treea5f94b0b6d391664607758370bd83da2e41f6e0e
parent64a24e55e3f462836ee618be480bd1b0b018e557
mm: pass a folio to swap_readpage_bdev_sync()

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-8-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