ext4: Use a folio in ext4_read_merkle_tree_page
authorMatthew Wilcox <willy@infradead.org>
Fri, 24 Mar 2023 18:01:29 +0000 (18:01 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Apr 2023 17:39:52 +0000 (13:39 -0400)
commite9ebecf266c6657de5865a02a47c0d6b2460c526
treed0ac5a1617ec170334c29b1a7f029db6909c6f56
parentb23fb762785babc1d6194770c88432da037c8a64
ext4: Use a folio in ext4_read_merkle_tree_page

This is an implementation of fsverity_operations read_merkle_tree_page,
so it must still return the precise page asked for, but we can use the
folio API to reduce the number of conversions between folios & pages.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20230324180129.1220691-30-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/verity.c