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-crypt.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-crypt.c')
-rw-r--r-- | drivers/md/dm-crypt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index bbf459bca61d..f7369f9d8595 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c | |||
@@ -1689,8 +1689,7 @@ bad: | |||
1689 | return ret; | 1689 | return ret; |
1690 | } | 1690 | } |
1691 | 1691 | ||
1692 | static int crypt_map(struct dm_target *ti, struct bio *bio, | 1692 | static int crypt_map(struct dm_target *ti, struct bio *bio) |
1693 | union map_info *map_context) | ||
1694 | { | 1693 | { |
1695 | struct dm_crypt_io *io; | 1694 | struct dm_crypt_io *io; |
1696 | struct crypt_config *cc = ti->private; | 1695 | struct crypt_config *cc = ti->private; |
@@ -1846,7 +1845,7 @@ static int crypt_iterate_devices(struct dm_target *ti, | |||
1846 | 1845 | ||
1847 | static struct target_type crypt_target = { | 1846 | static struct target_type crypt_target = { |
1848 | .name = "crypt", | 1847 | .name = "crypt", |
1849 | .version = {1, 11, 0}, | 1848 | .version = {1, 12, 0}, |
1850 | .module = THIS_MODULE, | 1849 | .module = THIS_MODULE, |
1851 | .ctr = crypt_ctr, | 1850 | .ctr = crypt_ctr, |
1852 | .dtr = crypt_dtr, | 1851 | .dtr = crypt_dtr, |