]> Git Repo - linux.git/commit
tcm_fc: Resolve suspicious RCU usage warnings
authorMark Rustad <[email protected]>
Tue, 26 Jun 2012 22:57:30 +0000 (15:57 -0700)
committerNicholas Bellinger <[email protected]>
Fri, 6 Jul 2012 19:52:09 +0000 (12:52 -0700)
commit863555be0c81558b1af277addcf68acb8f778860
tree5fd9df950b9397f1b265d20a53fbd9bec72ef4d9
parent5134de2815ac723ecfba4a1c7b2a90fa4d8dcfd9
tcm_fc: Resolve suspicious RCU usage warnings

Use rcu_dereference_protected to tell rcu that the ft_lport_lock
is held during ft_lport_create. This resolved "suspicious RCU usage"
warnings when debugging options are turned on.

Signed-off-by: Mark Rustad <[email protected]>
Tested-by: Ross Brattain <[email protected]>
Cc: <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
drivers/target/tcm_fc/tfc_sess.c
This page took 0.055685 seconds and 4 git commands to generate.