summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2024-12-02 23:40:22 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:33:44 +0100
commitbd51e0d7a255071f1d8a6ff3d6693e5538784795 (patch)
tree2c225b8ed68c000ad24c054aa9b4ab4a14f0b0a1 /scripts/patch-kernel
parentd867cee0f30ad80a83037a3f3c8f09b18ef63fd4 (diff)
downloadlinux-bd51e0d7a255071f1d8a6ff3d6693e5538784795.tar.gz
linux-bd51e0d7a255071f1d8a6ff3d6693e5538784795.tar.bz2
linux-bd51e0d7a255071f1d8a6ff3d6693e5538784795.zip
btrfs: handle bio_split() errors
[ Upstream commit c7c97ceff98cc459bf5e358e5cbd06fcb651d501 ] Commit e546fe1da9bd ("block: Rework bio_split() return value") changed bio_split() so that it can return errors. Add error handling for it in btrfs_split_bio() and ultimately btrfs_submit_chunk(). As the bio is not submitted, the bio counter must be decremented to pair btrfs_bio_counter_inc_blocked(). Reviewed-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions