]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/md/dm-target.c
dm: remove map_info
[mirror_ubuntu-bionic-kernel.git] / drivers / md / dm-target.c
index 8da366cf381cdbd2f7d1b830bd7ecbe1191a5df1..617d21a772568dad424aa1b49cb0a53de980b775 100644 (file)
@@ -126,15 +126,14 @@ static void io_err_dtr(struct dm_target *tt)
        /* empty */
 }
 
-static int io_err_map(struct dm_target *tt, struct bio *bio,
-                     union map_info *map_context)
+static int io_err_map(struct dm_target *tt, struct bio *bio)
 {
        return -EIO;
 }
 
 static struct target_type error_target = {
        .name = "error",
-       .version = {1, 0, 1},
+       .version = {1, 1, 0},
        .ctr  = io_err_ctr,
        .dtr  = io_err_dtr,
        .map  = io_err_map,