summaryrefslogtreecommitdiffstats
path: root/kernel/spinlock.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-11 13:50:12 +1100
committerNeilBrown <neilb@suse.de>2012-10-11 13:50:12 +1100
commitb97390aec4756373168ad2976e1f117b610513ea (patch)
treebf800dcf15dd08774d2da161d6317294727d8e2c /kernel/spinlock.c
parent143c4d0573caebe0ae017097614349697e2280eb (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud