19/19

Joe Thornber (joe@fib011235813.fsnet.co.uk)
Mon, 16 Dec 2002 10:19:12 +0000


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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/