[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)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 17:03:56 +0000 (13:03 -0400)
commite66ecd505addaaf40e7d352796ba8d344f6359dd
tree3a97bb4ff8936ae73150a499acd73119cb7dca04
parentd60b7a0fc918245c6fb8cc2b15e570e040d8f38b
[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