]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/linear: rcu_dereference outside read-lock section
authorDenis Efremov <yefremov.denis@gmail.com>
Thu, 27 Sep 2012 02:37:22 +0000 (12:37 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 27 Sep 2012 02:37:22 +0000 (12:37 +1000)
commit23587f7af51fc70446be6c764e588a5eb9307d3e
tree496d6b9ead16bfa025c3df99724e41432b4325ce
parent80b4812407c6b1f66a4f2430e69747a13f010839
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