iomap: clean up the iomap_alloc_ioend calling convention
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Dec 2023 07:27:03 +0000 (08:27 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 1 Feb 2024 13:20:11 +0000 (14:20 +0100)
commit7edfc610ec315de96963e66889511212ad87e3de
tree515d829936428fbb8e035e2ca06caf8508683f33
parentcc9542534bf09f33b4da32025b31335588fcefb9
iomap: clean up the iomap_alloc_ioend calling convention

Switch to the same argument order as iomap_writepage_map and remove the
ifs argument that can be trivially recalculated.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231207072710.176093-8-hch@lst.de
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c