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-linear.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-linear.c')
-rw-r--r-- | drivers/md/dm-linear.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-linear.c b/drivers/md/dm-linear.c index 82222a8cf750..328cad5617ab 100644 --- a/drivers/md/dm-linear.c +++ b/drivers/md/dm-linear.c | |||
@@ -88,8 +88,7 @@ static void linear_map_bio(struct dm_target *ti, struct bio *bio) | |||
88 | bio->bi_sector = linear_map_sector(ti, bio->bi_sector); | 88 | bio->bi_sector = linear_map_sector(ti, bio->bi_sector); |
89 | } | 89 | } |
90 | 90 | ||
91 | static int linear_map(struct dm_target *ti, struct bio *bio, | 91 | static int linear_map(struct dm_target *ti, struct bio *bio) |
92 | union map_info *map_context) | ||
93 | { | 92 | { |
94 | linear_map_bio(ti, bio); | 93 | linear_map_bio(ti, bio); |
95 | 94 | ||