diff options
author | NeilBrown <neilb@suse.de> | 2012-10-11 04:50:12 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-11 04:50:12 +0200 |
commit | 143c4d0573caebe0ae017097614349697e2280eb (patch) | |
tree | b5a68ce2a375a8e2617d2f4099b1701b521ddcc8 /scripts | |
parent | MD: raid5 avoid unnecessary zero page for trim (diff) | |
download | linux-143c4d0573caebe0ae017097614349697e2280eb.tar.xz linux-143c4d0573caebe0ae017097614349697e2280eb.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions