diff options
author | Andre Noll <maan@systemlinux.org> | 2008-10-13 02:55:12 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-10-13 02:55:12 +0200 |
commit | 6283815d1853b7daf31dc4adb83e5c1dc9568251 (patch) | |
tree | cd4f00ce17e7c274091ca9015b164d6f06611975 /include | |
parent | md: linear.c: Remove broken debug code. (diff) | |
download | linux-6283815d1853b7daf31dc4adb83e5c1dc9568251.tar.xz linux-6283815d1853b7daf31dc4adb83e5c1dc9568251.zip |
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')
-rw-r--r-- | include/linux/raid/linear.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/raid/linear.h b/include/linux/raid/linear.h index 7e375111d007..87090e98529f 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; |