]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/linear: rcu_dereference outside read-lock section
authorDenis Efremov <yefremov.denis@gmail.com>
Mon, 24 Sep 2012 06:41:25 +0000 (16:41 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 24 Sep 2012 06:41:25 +0000 (16:41 +1000)
commit34383ec79078eafc1ded7f784b3c2a8c595a6f63
tree53e42a4c92448a39f83d573da99dda5f7747e363
parentcb13ff69d6d61ab06285e3ef652f45ecda73e135
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: Denis Efremov <yefremov.denis@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/linear.c