md: Removing num_sector and replacing start_sector with end_sector
authorSandeep K Sinha <sandeepksinha@gmail.com>
Tue, 16 Jun 2009 06:56:13 +0000 (16:56 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:56:13 +0000 (16:56 +1000)
commit4db7cdc859f56ecf0a186e0cfb238b5bb3af2efb
tree1ab673db74f584f0c954e0556db63304bc3de81c
parent45d4582f219619e368ea91ea1189085e1c5f1969
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>
drivers/md/linear.c
drivers/md/linear.h