ext2: Convert ext2_check_page to ext2_check_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 21 Sep 2023 20:07:39 +0000 (21:07 +0100)
committerJan Kara <jack@suse.cz>
Wed, 25 Oct 2023 18:19:00 +0000 (20:19 +0200)
commit46f84a9bea2c44e80b52afa56b34d9e3e84dc358
tree4e6da003170d7dd764808e9da51190043f43a263
parent3de6047f1832010d24963f58206298fc75085816
ext2: Convert ext2_check_page to ext2_check_folio

Support in this function for large folios is limited to supporting
filesystems with block size > PAGE_SIZE.  This new functionality will only
be supported on machines without HIGHMEM, so the problem of kmap_local
only being able to map a single page in the folio can be ignored.
We will not use large folios for ext2 directories on HIGHMEM machines.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230921200746.3303942-2-willy@infradead.org>
fs/ext2/dir.c