md/linear: rcu_dereference outside read-lock section
authorDenis Efremov <yefremov.denis@gmail.com>
Thu, 11 Oct 2012 02:08:02 +0000 (13:08 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 02:08:02 +0000 (13:08 +1100)
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: Denis Efremov <yefremov.denis@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found