]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_fc: Do not report target role when target is not defined
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 21 Dec 2012 18:58:19 +0000 (10:58 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Jan 2013 04:08:58 +0000 (20:08 -0800)
commit316715c7078dc69711a9bb4231cfc2d1d38db13e
treedc14408bf9e8eb77c2f89a301f30fd319051c4a5
parent87243f8f57e38f4d1d2959ae5b7d6c93ec0f2e58
tcm_fc: Do not report target role when target is not defined

Clear the target role when no target is provided for
the node performing a PRLI.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Acked by Robert Love <robert.w.love@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_sess.c