md/raid5: add some missing locking in handle_failed_stripe.
authorNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 02:50:12 +0000 (13:50 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 02:50:12 +0000 (13:50 +1100)
We really should hold the stripe_lock while accessing
'toread' else we could race with add_stripe_bio and corrupt
a list.

Reported-by: "Jianpeng Ma" <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found