diff options
Diffstat (limited to 'drivers/md/dm-linear.c')
-rw-r--r-- | drivers/md/dm-linear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-linear.c b/drivers/md/dm-linear.c index 4a1cee48e652..17753d80ad22 100644 --- a/drivers/md/dm-linear.c +++ b/drivers/md/dm-linear.c | |||
@@ -77,7 +77,7 @@ static int linear_map(struct dm_target *ti, struct bio *bio, | |||
77 | bio->bi_bdev = lc->dev->bdev; | 77 | bio->bi_bdev = lc->dev->bdev; |
78 | bio->bi_sector = lc->start + (bio->bi_sector - ti->begin); | 78 | bio->bi_sector = lc->start + (bio->bi_sector - ti->begin); |
79 | 79 | ||
80 | return 1; | 80 | return DM_MAPIO_REMAPPED; |
81 | } | 81 | } |
82 | 82 | ||
83 | static int linear_status(struct dm_target *ti, status_type_t type, | 83 | static int linear_status(struct dm_target *ti, status_type_t type, |