diff options
author | NeilBrown <neilb@suse.de> | 2012-10-11 13:50:12 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-11 13:50:12 +1100 |
commit | b97390aec4756373168ad2976e1f117b610513ea (patch) | |
tree | bf800dcf15dd08774d2da161d6317294727d8e2c /kernel/spinlock.c | |
parent | 143c4d0573caebe0ae017097614349697e2280eb (diff) | |
download | blackbird-op-linux-b97390aec4756373168ad2976e1f117b610513ea.tar.gz blackbird-op-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 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions