summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/md/dm-raid1.c')
-rw-r--r--kernel/drivers/md/dm-raid1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/md/dm-raid1.c b/kernel/drivers/md/dm-raid1.c
index f2a363a89..115bd3846 100644
--- a/kernel/drivers/md/dm-raid1.c
+++ b/kernel/drivers/md/dm-raid1.c
@@ -1288,6 +1288,7 @@ static int mirror_end_io(struct dm_target *ti, struct bio *bio, int error)
dm_bio_restore(bd, bio);
bio_record->details.bi_bdev = NULL;
+ bio->bi_error = 0;
queue_bio(ms, bio, rw);
return DM_ENDIO_INCOMPLETE;