[PATCH] SCSI: fix request flag-related build breakage
The ->flags in struct request was split into two variables, in a recent changeset. The merge of this change forgot to update SCSI's libsas, probably because libsas was a very recent merge. Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
cb5d9e0948
commit
1bdfd554be
|
@ -126,7 +126,7 @@ static enum task_attribute sas_scsi_get_task_attr(struct scsi_cmnd *cmd)
|
||||||
enum task_attribute ta = TASK_ATTR_SIMPLE;
|
enum task_attribute ta = TASK_ATTR_SIMPLE;
|
||||||
if (cmd->request && blk_rq_tagged(cmd->request)) {
|
if (cmd->request && blk_rq_tagged(cmd->request)) {
|
||||||
if (cmd->device->ordered_tags &&
|
if (cmd->device->ordered_tags &&
|
||||||
(cmd->request->flags & REQ_HARDBARRIER))
|
(cmd->request->cmd_flags & REQ_HARDBARRIER))
|
||||||
ta = TASK_ATTR_HOQ;
|
ta = TASK_ATTR_HOQ;
|
||||||
}
|
}
|
||||||
return ta;
|
return ta;
|
||||||
|
|
Loading…
Reference in New Issue