summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-10-13 11:55:12 +1100
committerNeilBrown <neilb@suse.de>2008-10-13 11:55:12 +1100
commit6283815d1853b7daf31dc4adb83e5c1dc9568251 (patch)
treecd4f00ce17e7c274091ca9015b164d6f06611975 /include/linux
parent451708d2a439accbce136637ed4f156fc27371ab (diff)
downloadop-kernel-dev-6283815d1853b7daf31dc4adb83e5c1dc9568251.zip
op-kernel-dev-6283815d1853b7daf31dc4adb83e5c1dc9568251.tar.gz
md: linear: Represent dev_info->size and dev_info->offset in sectors.
Rename them to num_sectors and start_sector which is more descriptive. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/raid/linear.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/raid/linear.h b/include/linux/raid/linear.h
index 7e37511..87090e9 100644
--- a/include/linux/raid/linear.h
+++ b/include/linux/raid/linear.h
@@ -5,8 +5,8 @@
struct dev_info {
mdk_rdev_t *rdev;
- sector_t size;
- sector_t offset;
+ sector_t num_sectors;
+ sector_t start_sector;
};
typedef struct dev_info dev_info_t;
OpenPOWER on IntegriCloud