aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7f9e89bcac7e..e46e79355b77 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -126,7 +126,7 @@ static enum task_attribute sas_scsi_get_task_attr(struct scsi_cmnd *cmd)
126 enum task_attribute ta = TASK_ATTR_SIMPLE; 126 enum task_attribute ta = TASK_ATTR_SIMPLE;
127 if (cmd->request && blk_rq_tagged(cmd->request)) { 127 if (cmd->request && blk_rq_tagged(cmd->request)) {
128 if (cmd->device->ordered_tags && 128 if (cmd->device->ordered_tags &&
129 (cmd->request->flags & REQ_HARDBARRIER)) 129 (cmd->request->cmd_flags & REQ_HARDBARRIER))
130 ta = TASK_ATTR_HOQ; 130 ta = TASK_ATTR_HOQ;
131 } 131 }
132 return ta; 132 return ta;