md/raid0: two cleanups in create_stripe_zones.
authorNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:46:46 +0000 (16:46 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:46:46 +0000 (16:46 +1000)
commitd27a43abd7be0ab4b2337e4587feca8c7340e5f9
treea5a3e0ec947ebfc0d3dc75b9487c8e80de176a2d
parentdc58266385e51420298275c90a616c34f1473a73
md/raid0: two cleanups in create_stripe_zones.

1/ remove current_start.  The same value is available in
     zone->dev_start and storing it separately doesn't gain anything.
2/ rename curr_zone_start to curr_zone_end as we are now more
     focused on the 'end' of each zone.  We end up storing the
     same number though - the old name was a little confusing
     (and what does 'current' mean in this context anyway).

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid0.c