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>
This commit is contained in:
Andre Noll
2008-10-13 11:55:12 +11:00
committed by NeilBrown
parent 451708d2a4
commit 6283815d18
2 changed files with 31 additions and 27 deletions

View File

@ -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;