commit | 143c4d0573caebe0ae017097614349697e2280eb | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Oct 11 13:50:12 2012 +1100 |
committer | NeilBrown <neilb@suse.de> | Thu Oct 11 13:50:12 2012 +1100 |
tree | b5a68ce2a375a8e2617d2f4099b1701b521ddcc8 | |
parent | 9e44476851e91c86c98eb92b9bc27fb801f89072 [diff] |
md/raid5: add some missing locking in handle_failed_stripe. 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>