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 | b97390aec4756373168ad2976e1f117b610513ea (patch) | |
tree | bf800dcf15dd08774d2da161d6317294727d8e2c /lib/kobject.c | |
parent | md/raid5: add some missing locking in handle_failed_stripe. (diff) | |
download | linux-b97390aec4756373168ad2976e1f117b610513ea.tar.xz linux-b97390aec4756373168ad2976e1f117b610513ea.zip |
md/raid5: protect debug message against NULL derefernce.
The pr_debug in add_stripe_bio could race with something
changing *bip, so it is best to hold the lock until
after the pr_debug.
Reported-by: "Jianpeng Ma" <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions