From: Mike Christie Date: Wed, 21 May 2008 20:54:04 +0000 (-0500) Subject: [SCSI] libiscsi, iscsi_tcp, iser: add session cmds array accessor X-Git-Tag: v2.6.27-rc1~1059^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0af967f5d4f2dd1e00618d34ac988037d37a6c3b;p=pandora-kernel.git [SCSI] libiscsi, iscsi_tcp, iser: add session cmds array accessor Currently to get a ctask from the session cmd array, you have to know to use the itt modifier. To make this easier on LLDs and so in the future we can easilly kill the session array and use the host shared map instead, this patch adds a nice wrapper to strip the itt into a session->cmds index and return a ctask. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed