ext4: convert ext4_da_do_write_end() to take a folio
[ Upstream commit 4d5cdd75 ] There's nothing page-specific happening in ext4_da_do_write_end(); it's merely used for its refcount & lock, both of which are folio properties. Saves four calls to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20231214053035.1018876-1-willy@infradead.org Signed-off-by: Theodore Ts'o <tytso@mit.edu> Stable-dep-of: 83f4414b ("ext4: sanity check for NULL pointer after ext4_force_shutdown") Signed-off-by: Sasha Levin <sashal@kernel.org>
Please register or sign in to comment