drm/etnaviv: Implement mmap as GEM object function
[linux-2.6-microblaze.git] / drivers / md / raid1.c
index d237876..ced076b 100644 (file)
@@ -478,6 +478,8 @@ static void raid1_end_write_request(struct bio *bio)
                if (!test_bit(Faulty, &rdev->flags))
                        set_bit(R1BIO_WriteError, &r1_bio->state);
                else {
+                       /* Fail the request */
+                       set_bit(R1BIO_Degraded, &r1_bio->state);
                        /* Finished with this branch */
                        r1_bio->bios[mirror] = NULL;
                        to_put = bio;