md/raid5: set reshape_position correctly when reshape starts.
authorNeilBrown <neilb@suse.de>
Mon, 3 Aug 2009 00:59:57 +0000 (10:59 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 3 Aug 2009 00:59:57 +0000 (10:59 +1000)
commite516402c0d4fc02be4af9fa8c18954d4f9deb44e
tree8fa40d8f835d643ed903e1a89567a53256acc395
parent70471dafe3390243c598a3165dfb86b8b8b3f4fe
md/raid5: set reshape_position correctly when reshape starts.

As the internal reshape_progress counter is the main driver
for reshape, the fact that reshape_position sometimes starts with the
wrong value has minimal effect.  It is visible in sysfs and that
is all.

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