summaryrefslogtreecommitdiff
path: root/drivers/md/linear.h
diff options
context:
space:
mode:
authorSandeep K Sinha <sandeepksinha@gmail.com>2009-06-16 16:56:13 +1000
committerNeilBrown <neilb@suse.de>2009-06-16 16:56:13 +1000
commit4db7cdc859f56ecf0a186e0cfb238b5bb3af2efb (patch)
tree1ab673db74f584f0c954e0556db63304bc3de81c /drivers/md/linear.h
parent45d4582f219619e368ea91ea1189085e1c5f1969 (diff)
md: Removing num_sector and replacing start_sector with end_sector
Remove num_sectors from dev_info and replace start_sector with end_sector. This makes a lot of comparisons much simpler. Signed-off-by: Sandeep K Sinha <sandeepksinha@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/linear.h')
-rw-r--r--drivers/md/linear.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/linear.h b/drivers/md/linear.h
index 721a878403d1..599e5c1bbb01 100644
--- a/drivers/md/linear.h
+++ b/drivers/md/linear.h
@@ -3,8 +3,7 @@
struct dev_info {
mdk_rdev_t *rdev;
- sector_t num_sectors;
- sector_t start_sector;
+ sector_t end_sector;
};
typedef struct dev_info dev_info_t;