md/raid10: avoid reading from known bad blocks - part 2
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:23 +0000 (11:39 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:23 +0000 (11:39 +1000)
commit7399c31bc92a26bb8388a73f8e14acadcc512fe5
tree0f1d9904fde1d5258c84643a26947288251b9776
parent856e08e23762dfb92ffc68fd0a8d228f9e152160
md/raid10: avoid reading from known bad blocks - part 2

When redirecting a read error to a different device, we must
again avoid bad blocks and possibly split the request.

Spin_lock typo fixed thanks to Dan Carpenter <error27@gmail.com>

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