block: add a bi_error field to struct bio
[cascardo/linux.git] / drivers / md / dm-stripe.c
index a672a15..4f94c7d 100644 (file)
@@ -273,7 +273,7 @@ static int stripe_map_range(struct stripe_c *sc, struct bio *bio,
                return DM_MAPIO_REMAPPED;
        } else {
                /* The range doesn't map to the target stripe */
-               bio_endio(bio, 0);
+               bio_endio(bio);
                return DM_MAPIO_SUBMITTED;
        }
 }