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>
This commit is contained in:

committed by
Alasdair G Kergon

parent
ee18026ac6
commit
7de3ee57da
@@ -274,8 +274,7 @@ static void delay_resume(struct dm_target *ti)
|
||||
atomic_set(&dc->may_delay, 1);
|
||||
}
|
||||
|
||||
static int delay_map(struct dm_target *ti, struct bio *bio,
|
||||
union map_info *map_context)
|
||||
static int delay_map(struct dm_target *ti, struct bio *bio)
|
||||
{
|
||||
struct delay_c *dc = ti->private;
|
||||
|
||||
@@ -338,7 +337,7 @@ out:
|
||||
|
||||
static struct target_type delay_target = {
|
||||
.name = "delay",
|
||||
.version = {1, 1, 0},
|
||||
.version = {1, 2, 0},
|
||||
.module = THIS_MODULE,
|
||||
.ctr = delay_ctr,
|
||||
.dtr = delay_dtr,
|
||||
|
Reference in New Issue
Block a user