diff options
author | Brian Foster <bfoster@redhat.com> | 2025-02-24 09:47:55 -0500 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-02-26 09:42:36 +0100 |
commit | 469739f1d8c55dc39939bdb4b558cf875be0ff4e (patch) | |
tree | bb7f941138a85a2ccaa15869cf3caca08efd7a28 /net/lapb/lapb_timer.c | |
parent | 6fe32fe1bbc1dce43daf3569dd8a84e11446257f (diff) |
iomap: remove unnecessary advance from iomap_iter()
At this point, all iomap operations have been updated to advance the
iomap_iter directly before returning to iomap_iter(). Therefore, the
complexity of handling both the old and new semantics is no longer
required and can be removed from iomap_iter().
Update iomap_iter() to expect success or failure status in
iter.processed. As a precaution and developer hint to prevent
inadvertent use of old semantics, warn on a positive return code and
fail the operation. Remove the unnecessary advance and simplify the
termination logic.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-11-bfoster@redhat.com
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions