From: Kiran Patil Date: Sat, 29 Jan 2011 00:05:22 +0000 (-0800) Subject: [SCSI] libfc: Extending lport's roles for target if there is a registered target. X-Git-Tag: v2.6.39-rc1~440^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc1a921659561c4ea97eca6e3c2633adecbcd81;p=pandora-kernel.git [SCSI] libfc: Extending lport's roles for target if there is a registered target. Problem: From initaitor machine, when queried role of target (other end of connection), it is "initiator", hence SCSI-ml doesn't send any LUN Inquiry commands. Fix: If there is a registered target for FC_TYPE_FCP, extend lport's params (capability) to be target as well, By default lport params are INITIATOR only. Having this fix, caused initiator to send SCSI LUN inquiry command to target. Signed-off-by: Kiran Patil Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed