tcm_loop: Fixup tag handling
authorHannes Reinecke <hare@suse.de>
Thu, 2 Oct 2014 07:30:55 +0000 (09:30 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 3 Oct 2014 18:16:12 +0000 (11:16 -0700)
The SCSI command tag is set to the tag assigned from the block
layer, not the SCSI-II tag message. So we need to convert
it into the correct SCSI-II tag message based on the
device flags, not the tag value itself.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found