]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/linear: rcu_dereference outside read-lock section
authorDenis Efremov <yefremov.denis@gmail.com>
Sat, 18 Aug 2012 00:03:23 +0000 (10:03 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 18 Aug 2012 00:03:23 +0000 (10:03 +1000)
commitb9f12113faa2c40fb617c336d74c10dae3bd1473
tree7265fb1ff8296e68d8b16425fe08bbc29f4d8aa3
parent8b5eecf752dfe953923c41ce5acb6c9e6054577c
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