19/19

Joe Thornber
2002-12-16T10:12:41Z

The linear target was getting the start sector wrong when doing a
dm_get_device(). [Kevin Corry]
--- diff/drivers/md/dm-linear.c 2002-11-18 10:11:54.000000000 +0000
+++ source/drivers/md/dm-linear.c 2002-12-16 09:43:39.000000000 +0000
@@ -43,7 +43,7 @@
goto bad;
}

- if (dm_get_device(ti, argv[0], ti->begin, ti->len,
+ if (dm_get_device(ti, argv[0], lc->start, ti->len,
dm_table_get_mode(ti->table), &lc->dev)) {
ti->error = "dm-linear: Device lookup failed";
goto bad;