diff options
Diffstat (limited to 'drivers/md/dm-stripe.c')
-rw-r--r-- | drivers/md/dm-stripe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index 6c29fcecd892..51f5e0760012 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c | |||
@@ -186,7 +186,7 @@ static int stripe_map(struct dm_target *ti, struct bio *bio, | |||
186 | bio->bi_bdev = sc->stripe[stripe].dev->bdev; | 186 | bio->bi_bdev = sc->stripe[stripe].dev->bdev; |
187 | bio->bi_sector = sc->stripe[stripe].physical_start + | 187 | bio->bi_sector = sc->stripe[stripe].physical_start + |
188 | (chunk << sc->chunk_shift) + (offset & sc->chunk_mask); | 188 | (chunk << sc->chunk_shift) + (offset & sc->chunk_mask); |
189 | return 1; | 189 | return DM_MAPIO_REMAPPED; |
190 | } | 190 | } |
191 | 191 | ||
192 | static int stripe_status(struct dm_target *ti, | 192 | static int stripe_status(struct dm_target *ti, |