aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r--drivers/md/raid5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 37e4ff661b6c..e14f45780720 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -1105,7 +1105,7 @@ static void compute_parity6(struct stripe_head *sh, int method)
1105 if (test_and_clear_bit(R5_Overlap, &sh->dev[i].flags)) 1105 if (test_and_clear_bit(R5_Overlap, &sh->dev[i].flags))
1106 wake_up(&conf->wait_for_overlap); 1106 wake_up(&conf->wait_for_overlap);
1107 1107
1108 if (sh->dev[i].written) BUG(); 1108 BUG_ON(sh->dev[i].written);
1109 sh->dev[i].written = chosen; 1109 sh->dev[i].written = chosen;
1110 } 1110 }
1111 break; 1111 break;