Re: [PATCH] md/linear: rcu_dereference outside read-lock section

2012-08-13 Thread NeilBrown
On Tue, 14 Aug 2012 01:08:12 +0400 Denis Efremov wrote: > 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

[PATCH] md/linear: rcu_dereference outside read-lock section

2012-08-13 Thread Denis Efremov
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

[PATCH] md/linear: rcu_dereference outside read-lock section

2012-08-13 Thread Denis Efremov
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

Re: [PATCH] md/linear: rcu_dereference outside read-lock section

2012-08-13 Thread NeilBrown
On Tue, 14 Aug 2012 01:08:12 +0400 Denis Efremov yefremov.de...@gmail.com wrote: 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.