]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 19:44:58 +0000 (11:44 -0800)
commit5304f42eab6d502a281337ec493b108d863da964
tree383d015ad43e42353f4c41c47f83349982ce60f7
parented46841dd015efca61c4fec2f1b3edbe1c20f6d4
tcm_fc: Do not report target role when target is not defined

commit edec8dfefa1f372b2dd8197da555352e76a10c03 upstream.

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>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/tcm_fc/tfc_sess.c