commit | b97390aec4756373168ad2976e1f117b610513ea | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Oct 11 13:50:12 2012 +1100 |
committer | NeilBrown <neilb@suse.de> | Thu Oct 11 13:50:12 2012 +1100 |
tree | bf800dcf15dd08774d2da161d6317294727d8e2c | |
parent | 143c4d0573caebe0ae017097614349697e2280eb [diff] |
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>