iomap: convert iomap_writepages to writeack_iter

This removes one indirect function call per folio, and adds type safety
by not casting through a void pointer.

Based on a patch by Matthew Wilcox.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240412061614.1511629-1-hch@lst.de
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christoph Hellwig 2024-04-12 08:16:14 +02:00 • committed by Christian Brauner
commit 0fac04e4e0
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2