]> www.infradead.org Git - users/jedix/linux-maple.git/commit
md/raid0: Handle bio_split() errors
authorJohn Garry <john.g.garry@oracle.com>
Mon, 11 Nov 2024 11:21:48 +0000 (11:21 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Nov 2024 15:35:46 +0000 (08:35 -0700)
commit74538fdac3e85aae55eb4ed786478ed2384cb85d
tree479b381c6e40c5f8399fc0b82a11faf973b109bf
parent6eb09685885a4445da31097aa6418ee1875f9cec
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>
drivers/md/raid0.c