aboutsummaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-01-09 08:31:06 +1100
committerNeilBrown <neilb@suse.de>2009-01-09 08:31:06 +1100
commit019c4e2f3e02aac4b44003913b54ca4b332e4371 (patch)
treeebdd73075be543d5feb1a1e86a793a2b3311ea9b /include/linux/raid
parente0f06868341700c5c1964a04f6c5b51d0a2d5bca (diff)
md: raid0: Represent device offset in sectors.
Rename zone->dev_offset to zone->dev_start to make sure all users have been converted. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/raid0.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/raid0.h b/include/linux/raid/raid0.h
index 1b2dda035f8..61c3d29dc15 100644
--- a/include/linux/raid/raid0.h
+++ b/include/linux/raid/raid0.h
@@ -6,7 +6,7 @@
struct strip_zone
{
sector_t zone_offset; /* Zone offset in md_dev */
- sector_t dev_offset; /* Zone offset in real dev */
+ sector_t dev_start; /* Zone offset in real dev (in sectors) */
sector_t size; /* Zone size */
int nb_dev; /* # of devices attached to the zone */
mdk_rdev_t **dev; /* Devices attached to the zone */