aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2007-01-27 11:19:41 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-30 11:34:54 -0500
commit63bb1bf0400414c0bc51cf276daa0fb5168d1e61 (patch)
tree0434499b9357d893966ecb56ac8e95034fa9bc29 /drivers/scsi
parent20ce791a0e684dceea2b6804a7c7aaa22e8bfa5c (diff)
[SCSI] libsas: fix task attribute
Why TASK_ATTR_HOQ? Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libsas/sas_scsi_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index 04eace9020ba..cd2378010c7e 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -131,7 +131,7 @@ static enum task_attribute sas_scsi_get_task_attr(struct scsi_cmnd *cmd)
131 if (cmd->request && blk_rq_tagged(cmd->request)) { 131 if (cmd->request && blk_rq_tagged(cmd->request)) {
132 if (cmd->device->ordered_tags && 132 if (cmd->device->ordered_tags &&
133 (cmd->request->cmd_flags & REQ_HARDBARRIER)) 133 (cmd->request->cmd_flags & REQ_HARDBARRIER))
134 ta = TASK_ATTR_HOQ; 134 ta = TASK_ATTR_ORDERED;
135 } 135 }
136 return ta; 136 return ta;
137} 137}