diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2012-12-21 20:23:41 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 20:23:41 +0000 |
commit | 7de3ee57da4b717050e79c9313a9bf66ccc72519 (patch) | |
tree | dd9bf250c6d9139528e563167cabdb811c8fd6cb /drivers/md/dm-raid.c | |
parent | ee18026ac69efba804144541171299efd41747d2 (diff) | |
download | op-kernel-dev-7de3ee57da4b717050e79c9313a9bf66ccc72519.zip op-kernel-dev-7de3ee57da4b717050e79c9313a9bf66ccc72519.tar.gz |
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 4a20bf8..3d8984e 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) context_free(rs); } -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) { struct raid_set *rs = ti->private; struct mddev *mddev = &rs->md; @@ -1432,7 +1432,7 @@ static void raid_resume(struct dm_target *ti) static struct target_type raid_target = { .name = "raid", - .version = {1, 3, 1}, + .version = {1, 4, 0}, .module = THIS_MODULE, .ctr = raid_ctr, .dtr = raid_dtr, |