aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-11-11 11:21:48 +0000
committerJens Axboe <axboe@kernel.dk>2024-11-11 08:35:46 -0700
commit74538fdac3e85aae55eb4ed786478ed2384cb85d (patch)
tree479b381c6e40c5f8399fc0b82a11faf973b109bf /rust/helpers/helpers.c
parent6eb09685885a4445da31097aa6418ee1875f9cec (diff)
downloadlinux-74538fdac3e85aae55eb4ed786478ed2384cb85d.tar.gz
linux-74538fdac3e85aae55eb4ed786478ed2384cb85d.tar.bz2
linux-74538fdac3e85aae55eb4ed786478ed2384cb85d.zip
md/raid0: Handle bio_split() errors
Add proper bio_split() error handling. For any error, set bi_status, end the bio, and return. Reviewed-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20241111112150.3756529-5-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions