summaryrefslogtreecommitdiffstats
path: root/include/linux/raid/raid0.h
diff options
context:
space:
mode:
authorAndre Noll2009-01-08 22:31:07 +0100
committerNeilBrown2009-01-08 22:31:07 +0100
commit83838ed87898e0a8ff8dbf001e54e6c017f0a011 (patch)
tree218e6c8dbe52257251f165cd544c4bebbeae3c40 /include/linux/raid/raid0.h
parentmd: raid0 create_strip_zones(): Add KERN_INFO/KERN_ERR to printk's. (diff)
downloadkernel-qcow2-linux-83838ed87898e0a8ff8dbf001e54e6c017f0a011.tar.gz
kernel-qcow2-linux-83838ed87898e0a8ff8dbf001e54e6c017f0a011.tar.xz
kernel-qcow2-linux-83838ed87898e0a8ff8dbf001e54e6c017f0a011.zip
md: raid0: Represent the size of strip zones in sectors.
This completes the block -> sector conversion of struct strip_zone. 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 eaf4f6ac55f6..c12521d027e2 100644
--- a/include/linux/raid/raid0.h
+++ b/include/linux/raid/raid0.h
@@ -7,7 +7,7 @@ struct strip_zone
{
sector_t zone_start; /* Zone offset in md_dev (in sectors) */
sector_t dev_start; /* Zone offset in real dev (in sectors) */
- sector_t size; /* Zone size */
+ sector_t sectors; /* Zone size in sectors */
int nb_dev; /* # of devices attached to the zone */
mdk_rdev_t **dev; /* Devices attached to the zone */
};