Re: [PATCH] tcm_fc: rcu_deref outside rcu lock/unlock section

2012-08-20 Thread Rustad, Mark D
On Aug 18, 2012, at 3:35 PM, Nicholas A. Bellinger wrote: > On Sat, 2012-08-18 at 16:10 +0400, Denis Efremov wrote: >> Use rcu_dereference_protected in order to prevent lockdep >> complaint. Sequel of the patch 863555be >> >> Found by Linux Driver Verification project (linuxtesting.org). >> >>

Re: [PATCH] tcm_fc: rcu_deref outside rcu lock/unlock section

2012-08-20 Thread Rustad, Mark D
On Aug 18, 2012, at 3:35 PM, Nicholas A. Bellinger wrote: On Sat, 2012-08-18 at 16:10 +0400, Denis Efremov wrote: Use rcu_dereference_protected in order to prevent lockdep complaint. Sequel of the patch 863555be Found by Linux Driver Verification project (linuxtesting.org).

Re: [PATCH] tcm_fc: rcu_deref outside rcu lock/unlock section

2012-08-18 Thread Nicholas A. Bellinger
On Sat, 2012-08-18 at 16:10 +0400, Denis Efremov wrote: > Use rcu_dereference_protected in order to prevent lockdep > complaint. Sequel of the patch 863555be > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Denis Efremov > --- >

[PATCH] tcm_fc: rcu_deref outside rcu lock/unlock section

2012-08-18 Thread Denis Efremov
Use rcu_dereference_protected in order to prevent lockdep complaint. Sequel of the patch 863555be Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov --- drivers/target/tcm_fc/tfc_sess.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff

[PATCH] tcm_fc: rcu_deref outside rcu lock/unlock section

2012-08-18 Thread Denis Efremov
Use rcu_dereference_protected in order to prevent lockdep complaint. Sequel of the patch 863555be Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- drivers/target/tcm_fc/tfc_sess.c |4 +++- 1 files changed, 3

Re: [PATCH] tcm_fc: rcu_deref outside rcu lock/unlock section

2012-08-18 Thread Nicholas A. Bellinger
On Sat, 2012-08-18 at 16:10 +0400, Denis Efremov wrote: Use rcu_dereference_protected in order to prevent lockdep complaint. Sequel of the patch 863555be Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com ---