diff options
| author | Johannes Thumshirn <[email protected]> | 2024-12-03 07:40:22 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-12-06 14:04:13 +0000 |
| commit | c7c97ceff98cc459bf5e358e5cbd06fcb651d501 (patch) | |
| tree | 77a64a1ff462447e1153356077015939c11f16fa /tools/net/ynl/pyynl/cli.py | |
| parent | btrfs: properly wait for writeback before buffered write (diff) | |
| download | kernel-c7c97ceff98cc459bf5e358e5cbd06fcb651d501.tar.gz kernel-c7c97ceff98cc459bf5e358e5cbd06fcb651d501.zip | |
btrfs: handle bio_split() errors
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 <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
