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-stripe.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-stripe.c')
-rw-r--r-- | drivers/md/dm-stripe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index 4e7ba82146c0..6b0e5ea38027 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c | |||
@@ -271,8 +271,7 @@ static int stripe_map_discard(struct stripe_c *sc, struct bio *bio, | |||
271 | } | 271 | } |
272 | } | 272 | } |
273 | 273 | ||
274 | static int stripe_map(struct dm_target *ti, struct bio *bio, | 274 | static int stripe_map(struct dm_target *ti, struct bio *bio) |
275 | union map_info *map_context) | ||
276 | { | 275 | { |
277 | struct stripe_c *sc = ti->private; | 276 | struct stripe_c *sc = ti->private; |
278 | uint32_t stripe; | 277 | uint32_t stripe; |
@@ -342,8 +341,7 @@ static int stripe_status(struct dm_target *ti, status_type_t type, | |||
342 | return 0; | 341 | return 0; |
343 | } | 342 | } |
344 | 343 | ||
345 | static int stripe_end_io(struct dm_target *ti, struct bio *bio, | 344 | static int stripe_end_io(struct dm_target *ti, struct bio *bio, int error) |
346 | int error, union map_info *map_context) | ||
347 | { | 345 | { |
348 | unsigned i; | 346 | unsigned i; |
349 | char major_minor[16]; | 347 | char major_minor[16]; |