md: fix bug in raid10 recovery.
authorNeilBrown <neilb@suse.de>
Thu, 6 Nov 2008 06:28:20 +0000 (17:28 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 6 Nov 2008 06:28:20 +0000 (17:28 +1100)
commita53a6c85756339f82ff19e001e90cfba2d6299a8
tree1c2d2601ad6c75aae1f47313f7df256556161fc7
parentcb3ac42b8af357fdd9ad838234245b39e5bdb7fe
md: fix bug in raid10 recovery.

Adding a spare to a raid10 doesn't cause recovery to start.
This is due to an silly type in
  commit 6c2fce2ef6b4821c21b5c42c7207cb9cf8c87eda
and so is a bug in 2.6.27 and .28-rc.

Thanks to Thomas Backlund for bisecting to find this.

Cc: Thomas Backlund <tmb@mandriva.org>
Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c