aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-target.c
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/md/dm-target.c
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'drivers/md/dm-target.c')
-rw-r--r--drivers/md/dm-target.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/md/dm-target.c b/drivers/md/dm-target.c
index 617d21a7725..8da366cf381 100644
--- a/drivers/md/dm-target.c
+++ b/drivers/md/dm-target.c
@@ -126,14 +126,15 @@ static void io_err_dtr(struct dm_target *tt)
126 /* empty */ 126 /* empty */
127} 127}
128 128
129static int io_err_map(struct dm_target *tt, struct bio *bio) 129static int io_err_map(struct dm_target *tt, struct bio *bio,
130 union map_info *map_context)
130{ 131{
131 return -EIO; 132 return -EIO;
132} 133}
133 134
134static struct target_type error_target = { 135static struct target_type error_target = {
135 .name = "error", 136 .name = "error",
136 .version = {1, 1, 0}, 137 .version = {1, 0, 1},
137 .ctr = io_err_ctr, 138 .ctr = io_err_ctr,
138 .dtr = io_err_dtr, 139 .dtr = io_err_dtr,
139 .map = io_err_map, 140 .map = io_err_map,