]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfcc09e4ac3f8eb753468aa7053270e3c78b7be35
tree01d9a04a1c1c0b16863a51ec389470e436e9fb13
parente4d94ec87e944a605f63863597f126e435ec0ffe
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