]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iomap: rename iomap_iter processed field to status
authorBrian Foster <bfoster@redhat.com>
Mon, 24 Feb 2025 14:47:56 +0000 (09:47 -0500)
committerChristian Brauner <brauner@kernel.org>
Wed, 26 Feb 2025 08:42:37 +0000 (09:42 +0100)
commitedd3e3b7d210747dec723edd2b6cb49d140c1256
tree2e47996d7892df002492a2562f0d3cbd8eb9d808
parent469739f1d8c55dc39939bdb4b558cf875be0ff4e
iomap: rename iomap_iter processed field to status

The iter.processed field name is no longer appropriate now that
iomap operations do not return the number of bytes processed. Rename
the field to iter.status to reflect that a success or error code is
expected.

Also change the type to int as there is no longer a need for an s64.
This reduces the size of iomap_iter by 8 bytes due to a combination
of smaller type and reduction in structure padding. While here, fix
up the return types of various _iter() helpers to reflect the type
change.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-12-bfoster@redhat.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/dax.c
fs/iomap/buffered-io.c
fs/iomap/direct-io.c
fs/iomap/fiemap.c
fs/iomap/iter.c
fs/iomap/seek.c
fs/iomap/swapfile.c
fs/iomap/trace.h
include/linux/iomap.h