diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2012-12-21 15:23:41 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 15:23:41 -0500 |
commit | 7de3ee57da4b717050e79c9313a9bf66ccc72519 (patch) | |
tree | dd9bf250c6d9139528e563167cabdb811c8fd6cb /drivers/md/dm-raid.c | |
parent | ee18026ac69efba804144541171299efd41747d2 (diff) |
dm: remove map_info
This patch removes map_info from bio-based device mapper targets.
map_info is still used for request-based targets.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid.c')
-rw-r--r-- | drivers/md/dm-raid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c index 4a20bf8c72da..3d8984edeff7 100644 --- a/drivers/md/dm-raid.c +++ b/drivers/md/dm-raid.c | |||
@@ -1218,7 +1218,7 @@ static void raid_dtr(struct dm_target *ti) | |||
1218 | context_free(rs); | 1218 | context_free(rs); |
1219 | } | 1219 | } |
1220 | 1220 | ||
1221 | static int raid_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) | 1221 | static int raid_map(struct dm_target *ti, struct bio *bio) |
1222 | { | 1222 | { |
1223 | struct raid_set *rs = ti->private; | 1223 | struct raid_set *rs = ti->private; |
1224 | struct mddev *mddev = &rs->md; | 1224 | struct mddev *mddev = &rs->md; |
@@ -1432,7 +1432,7 @@ static void raid_resume(struct dm_target *ti) | |||
1432 | 1432 | ||
1433 | static struct target_type raid_target = { | 1433 | static struct target_type raid_target = { |
1434 | .name = "raid", | 1434 | .name = "raid", |
1435 | .version = {1, 3, 1}, | 1435 | .version = {1, 4, 0}, |
1436 | .module = THIS_MODULE, | 1436 | .module = THIS_MODULE, |
1437 | .ctr = raid_ctr, | 1437 | .ctr = raid_ctr, |
1438 | .dtr = raid_dtr, | 1438 | .dtr = raid_dtr, |