Commit 8a554c62 authored by Jens Axboe's avatar Jens Axboe

Merge tag 'md-fixes-20231120' of...

Merge tag 'md-fixes-20231120' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into block-6.7

Pull MD fix from Song.

* tag 'md-fixes-20231120' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md:
  md: fix bi_status reporting in md_end_clone_io
parents 3eba5e0b 45b47895
...@@ -8666,6 +8666,7 @@ static void md_end_clone_io(struct bio *bio) ...@@ -8666,6 +8666,7 @@ static void md_end_clone_io(struct bio *bio)
struct bio *orig_bio = md_io_clone->orig_bio; struct bio *orig_bio = md_io_clone->orig_bio;
struct mddev *mddev = md_io_clone->mddev; struct mddev *mddev = md_io_clone->mddev;
if (bio->bi_status && !orig_bio->bi_status)
orig_bio->bi_status = bio->bi_status; orig_bio->bi_status = bio->bi_status;
if (md_io_clone->start_time) if (md_io_clone->start_time)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment