[PATCH] device-mapper: stripe_width should be sector_t

From: Alasdair G Kergon
Date: Tue Feb 01 2005 - 14:03:57 EST


stripe_width should be sector_t to support large devices.

Signed-Off-By: Alasdair G Kergon <agk@xxxxxxxxxx>
--- diff/drivers/md/dm-stripe.c 2005-01-28 15:27:58.000000000 +0000
+++ source/drivers/md/dm-stripe.c 2005-01-28 15:28:23.000000000 +0000
@@ -21,7 +21,7 @@
uint32_t stripes;

/* The size of this target / num. stripes */
- uint32_t stripe_width;
+ sector_t stripe_width;

/* stripe chunk size */
uint32_t chunk_shift;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/