From: Mark Rustad Date: Tue, 26 Jun 2012 22:57:30 +0000 (-0700) Subject: tcm_fc: Resolve suspicious RCU usage warnings X-Git-Tag: v3.2.23~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f81e29765bd976bf083b239ad04e7f64ab5269;p=pandora-kernel.git tcm_fc: Resolve suspicious RCU usage warnings commit 863555be0c81558b1af277addcf68acb8f778860 upstream. 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 Tested-by: Ross Brattain Signed-off-by: Nicholas Bellinger Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed