Skip to content
Commit bc78c573 authored by Denis Efremov's avatar Denis Efremov Committed by NeilBrown
Browse files

md/linear: rcu_dereference outside read-lock section



According to the comment in linear_stop function
rcu_dereference in linear_start and linear_stop functions
occurs under reconfig_mutex. The patch represents this
agreement in code and prevents lockdep complaint.

Found by Linux Driver Verification project (linuxtesting.org)

Signed-off-by: default avatarDenis Efremov <yefremov.denis@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 02f3939e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment