block: Convert read_part_sector() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 03:43:35 +0000 (23:43 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Aug 2022 16:34:03 +0000 (12:34 -0400)
commit4fdc08d418f5ca68da64bbfefc03511b8c3dceea
treef0976bed5e98094f7f8f75de8ddc4191b181373b
parent069fc464f1e80df06d156ef606cebc61ee00b63e
block: Convert read_part_sector() to use a folio

This relatively straightforward converion saves a call to compound_head()
hidden inside put_page().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
block/partitions/check.h
block/partitions/core.c