aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-verity.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-12-21 20:23:41 +0000
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 20:23:41 +0000
commit7de3ee57da4b717050e79c9313a9bf66ccc72519 (patch)
treedd9bf250c6d9139528e563167cabdb811c8fd6cb /drivers/md/dm-verity.c
parentdm snapshot: do not use map_context (diff)
downloadlinux-dev-7de3ee57da4b717050e79c9313a9bf66ccc72519.tar.xz
linux-dev-7de3ee57da4b717050e79c9313a9bf66ccc72519.zip
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-verity.c')
-rw-r--r--drivers/md/dm-verity.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-verity.c b/drivers/md/dm-verity.c
index 78f349894b24..52cde982164a 100644
--- a/drivers/md/dm-verity.c
+++ b/drivers/md/dm-verity.c
@@ -458,8 +458,7 @@ no_prefetch_cluster:
* Bio map function. It allocates dm_verity_io structure and bio vector and
* fills them. Then it issues prefetches and the I/O.
*/
-static int verity_map(struct dm_target *ti, struct bio *bio,
- union map_info *map_context)
+static int verity_map(struct dm_target *ti, struct bio *bio)
{
struct dm_verity *v = ti->private;
struct dm_verity_io *io;