md/raid5: make sure a reshape restarts at the correct address.
authorNeilBrown <neilb@suse.de>
Thu, 13 Aug 2009 00:13:00 +0000 (10:13 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 13 Aug 2009 00:13:00 +0000 (10:13 +1000)
commita639755cf885e437b2fe4168d35157fa90d530ab
tree01d9a04a1c1c0b16863a51ec389470e436e9fb13
parent67ac6011db5d2b0c853d573ff474b25c85dfb644
md/raid5: make sure a reshape restarts at the correct address.

This "if" don't allow for the possibility that the number of devices
doesn't change, and so sector_nr isn't set correctly in that case.
So change '>' to '>='.

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