summaryrefslogtreecommitdiffstats
path: root/include/linux/raid/raid0.h
diff options
context:
space:
mode:
authorAndre Noll2009-01-08 22:31:06 +0100
committerNeilBrown2009-01-08 22:31:06 +0100
commit019c4e2f3e02aac4b44003913b54ca4b332e4371 (patch)
treeebdd73075be543d5feb1a1e86a793a2b3311ea9b /include/linux/raid/raid0.h
parentmd: raid0_make_request(): Replace local variable block by sector. (diff)
downloadkernel-qcow2-linux-019c4e2f3e02aac4b44003913b54ca4b332e4371.tar.gz
kernel-qcow2-linux-019c4e2f3e02aac4b44003913b54ca4b332e4371.tar.xz
kernel-qcow2-linux-019c4e2f3e02aac4b44003913b54ca4b332e4371.zip
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/raid0.h')
-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 1b2dda035f8e..61c3d29dc158 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 */