summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2025-12-10 19:02:33 +1030
committerDavid Sterba <dsterba@suse.com>2026-02-03 06:38:32 +0100
commit44820d80026e0b509007d41c83d42f1213ee8589 (patch)
treeec9f665889048f7c1a2bfef5d243b640c9bbe9f4 /include/linux/i2c/git@git.tavy.me:linux.git
parent3970da5c3ba0993eba8b83c63726f61ef97e3ae7 (diff)
btrfs: concentrate the error handling of submit_one_sector()
Currently submit_one_sector() has only one failure path from btrfs_get_extent(). However the error handling is split into two parts, one inside submit_one_sector(), which clears the dirty flag and finishes the writeback for the fs block. The other part is to submit any remaining bio inside bio_ctrl and mark the ordered extent finished for the fs block. There is no special reason that we must split the error handling, let's just concentrate all the error handling into submit_one_sector(). Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions