From: Andy Grover Date: Fri, 4 Apr 2014 23:54:12 +0000 (-0700) Subject: target/tcm_fc: Limit to 1 TPG per wwn X-Git-Tag: v3.15-rc1~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d242c1d7d39bb50d2816a2834b84c420c3e7084e;p=pandora-kernel.git target/tcm_fc: Limit to 1 TPG per wwn tcm_fc doesn't support multiple TPGs per wwn. For proof, see ft_lport_find_tpg. Enforce this in the code. Replace ft_lport_wwn.tpg_list with a single pointer. We can't fold ft_tpg into ft_lport_wwn because they can have different lifetimes. Signed-off-by: Andy Grover Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed