dm: remove map_info
[sfrench/cifs-2.6.git] / drivers / md / dm-zero.c
index cc2b3cb819465c4f6becb14897d998ebfb976572..69a5c3b3b340cad4e58997955c13c8b56c7135de 100644 (file)
@@ -33,8 +33,7 @@ static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 /*
  * Return zeros only on reads
  */
-static int zero_map(struct dm_target *ti, struct bio *bio,
-                     union map_info *map_context)
+static int zero_map(struct dm_target *ti, struct bio *bio)
 {
        switch(bio_rw(bio)) {
        case READ:
@@ -56,7 +55,7 @@ static int zero_map(struct dm_target *ti, struct bio *bio,
 
 static struct target_type zero_target = {
        .name   = "zero",
-       .version = {1, 0, 0},
+       .version = {1, 1, 0},
        .module = THIS_MODULE,
        .ctr    = zero_ctr,
        .map    = zero_map,