ext4: Convert ext4_block_write_begin() to take a folio
authorMatthew Wilcox <willy@infradead.org>
Fri, 24 Mar 2023 18:01:24 +0000 (18:01 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Apr 2023 17:39:52 +0000 (13:39 -0400)
commit86b38c273cc68ce7b50649447d8ac0ddf3228026
tree5b71cf77ac1c4032fbf10d8638d5c66749baf007
parentc0be8e6f081b3e966e21f52679b2f809b7df10b8
ext4: Convert ext4_block_write_begin() to take a folio

All the callers now have a folio, so pass that in and operate on folios.
Removes four calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20230324180129.1220691-25-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c