[SCSI] target: Convert TASK_ATTR to scsi_tcq.h definitions
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 20 May 2011 03:19:14 +0000 (20:19 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 27 May 2011 11:49:49 +0000 (11:49 +0000)
commit61db1802bf33bf027cd97ba3f79566b2b2fce5c6
tree09b271607bda6219300874af71795979894d170f
parent1078da163fd2c1d3cba76cd4018e897a4f98efc5
[SCSI] target: Convert TASK_ATTR to scsi_tcq.h definitions

This patch converts target core and follwing scsi-misc upstream fabric
modules to use include/scsi/scsi_tcq.h includes for SIMPLE, HEAD_OF_QUEUE
and ORDERED SCSI tasks instead of scsi/libsas.h with TASK_ATTR*

*) tcm_loop: Convert tcm_loop_allocate_core_cmd() + tcm_loop_device_reset() to
   scsi_tcq.h
*) tcm_fc: Convert ft_send_cmd() from FCP_PTA_* to scsi_tcq.h

Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/target/loopback/tcm_loop.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_transport.c
drivers/target/tcm_fc/tfc_cmd.c
include/scsi/scsi_tcq.h