]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dax: advance the iomap_iter on dedupe range
authorBrian Foster <bfoster@redhat.com>
Mon, 24 Feb 2025 14:47:53 +0000 (09:47 -0500)
committerChristian Brauner <brauner@kernel.org>
Wed, 26 Feb 2025 08:42:36 +0000 (09:42 +0100)
commit39eb05112987e15cbee1ada91e2dccb845675c30
tree9cddcef1330feeb3290015e888815bd4f380e2ee
parent9ba439cbdcf2b14548a451d4f4e2bd274b1af490
dax: advance the iomap_iter on dedupe range

Advance the iter on successful dedupe. Dedupe range uses two iters
and iterates so long as both have outstanding work, so
correspondingly this needs to advance both on each iteration. Since
dax_range_compare_iter() now returns status instead of a byte count,
update the variable name in the caller as well.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-9-bfoster@redhat.com
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/dax.c