@@ -4101,8 +4101,7 @@ static void raid_dtr(struct dm_target *ti)
}
/* Raid mapping function. */
-static int raid_map(struct dm_target *ti, struct bio *bio,
- union map_info *map_context)
+static int raid_map(struct dm_target *ti, struct bio *bio)
{
/* I don't want to waste stripe cache capacity. */
if (bio_rw(bio) == READA)
@@ -4245,7 +4244,7 @@ static void raid_devel_stats(struct dm_target *ti, char *result,
*size = sz;
}
-static int raid_status(struct dm_target *ti, status_type_t type,
+static void raid_status(struct dm_target *ti, status_type_t type,
unsigned status_flags, char *result, unsigned maxlen)
{
unsigned p, sz = 0;
@@ -4306,8 +4305,6 @@ static int raid_status(struct dm_target *ti, status_type_t type,
format_dev_t(buf, rs->dev[p].dev->bdev->bd_dev),
(unsigned long long) rs->dev[p].start);
}
-
- return 0;
}
/*