aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-02-10 17:37:55 +0000
committerMark Brown <broonie@linaro.org>2014-02-10 17:37:55 +0000
commit4ed15484d2b90c28ecb0eb4ed0330049343c60ad (patch)
treea95b5adbc989002647a42b0f392f311015a0fa02 /drivers/md/raid5.c
parent0f3550b731084e2790caf1d73bfe0e3a454aafae (diff)
parent4b9c8ddadce3ec70fa5d93875adeda861b21c84e (diff)
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r--drivers/md/raid5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 51422999fd0..740e3f42bef 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -1893,6 +1893,7 @@ static void raid5_end_write_request(struct bio *bi, int error)
set_bit(R5_MadeGoodRepl, &sh->dev[i].flags);
} else {
if (!uptodate) {
+ set_bit(STRIPE_DEGRADED, &sh->state);
set_bit(WriteErrorSeen, &rdev->flags);
set_bit(R5_WriteError, &sh->dev[i].flags);
if (!test_and_set_bit(WantReplacement, &rdev->flags))