iomap: cleanup the pending writeback tracking in iomap_writepage_map_blocks
authorJoanne Koong <joannelkoong@gmail.com>
Thu, 10 Jul 2025 13:33:27 +0000 (15:33 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 14 Jul 2025 08:51:31 +0000 (10:51 +0200)
commit40368a6acb95635824f6a45ec1de6233977309f3
tree1ca47c4bc24babc42af75e921ea73f1ed5a773d0
parent67fd9615a782b11cd0c62823d722a815c9e1eb75
iomap: cleanup the pending writeback tracking in iomap_writepage_map_blocks

We don't care about the count of outstanding ioends, just if there is one.
Replace the count variable passed to iomap_writepage_map_blocks with a
boolean to make that more clear.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
[hch: rename the variable, update the commit message]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/20250710133343.399917-4-hch@lst.de
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c