From: Jeff Garzik Date: Sun, 1 Oct 2006 01:28:22 +0000 (-0400) Subject: [PATCH] SCSI: fix request flag-related build breakage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bdfd554be94def718323659173517c5d4a69d25;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Linus Torvalds --- 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) enum task_attribute ta = TASK_ATTR_SIMPLE; if (cmd->request && blk_rq_tagged(cmd->request)) { if (cmd->device->ordered_tags && - (cmd->request->flags & REQ_HARDBARRIER)) + (cmd->request->cmd_flags & REQ_HARDBARRIER)) ta = TASK_ATTR_HOQ; } return ta;