summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-11 04:50:12 +0200
committerNeilBrown <neilb@suse.de>2012-10-11 04:50:12 +0200
commitb97390aec4756373168ad2976e1f117b610513ea (patch)
treebf800dcf15dd08774d2da161d6317294727d8e2c /lib/kobject.c
parentmd/raid5: add some missing locking in handle_failed_stripe. (diff)
downloadlinux-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