summaryrefslogtreecommitdiff
path: root/drivers/scsi/libsas
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2007-01-28 01:19:41 +0900
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-30 10:34:54 -0600
commit63bb1bf0400414c0bc51cf276daa0fb5168d1e61 (patch)
tree0434499b9357d893966ecb56ac8e95034fa9bc29 /drivers/scsi/libsas
parent20ce791a0e684dceea2b6804a7c7aaa22e8bfa5c (diff)
downloadlinux-next-63bb1bf0400414c0bc51cf276daa0fb5168d1e61.tar.gz
[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/libsas')
-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)
if (cmd->request && blk_rq_tagged(cmd->request)) {
if (cmd->device->ordered_tags &&
(cmd->request->cmd_flags & REQ_HARDBARRIER))
- ta = TASK_ATTR_HOQ;
+ ta = TASK_ATTR_ORDERED;
}
return ta;
}