aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r--drivers/md/dm-raid1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c
index d1a7f1a4789c..4f466ad75680 100644
--- a/drivers/md/dm-raid1.c
+++ b/drivers/md/dm-raid1.c
@@ -779,7 +779,8 @@ static void do_failures(struct mirror_set *ms, struct bio_list *failures)
779 hold_bio(ms, bio); 779 hold_bio(ms, bio);
780 else { 780 else {
781 ms->in_sync = 0; 781 ms->in_sync = 0;
782 dm_rh_mark_nosync(ms->rh, bio, bio->bi_size, 0); 782 dm_rh_mark_nosync(ms->rh, bio);
783 bio_endio(bio, 0);
783 } 784 }
784 } 785 }
785} 786}