]> err.no Git - linux-2.6/commitdiff
[SCSI] libsas: fix task attribute
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 27 Jan 2007 16:19:41 +0000 (01:19 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 30 Jan 2007 16:34:54 +0000 (10:34 -0600)
Why TASK_ATTR_HOQ?

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_scsi_host.c

index 04eace9020ba14fffd0bccf54acecb9bb4f3eada..cd2378010c7e92149baffa04b23a02c7fadeed80 100644 (file)
@@ -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;
 }