]> err.no Git - linux-2.6/blobdiff - include/scsi/scsi_tcq.h
[PATCH] Split struct request ->flags into two parts
[linux-2.6] / include / scsi / scsi_tcq.h
index d04d05adfa9b68ca1ccd08e231a81996a316c714..bbf66219b7692393e20d94c49c76708022e42ecf 100644 (file)
@@ -100,7 +100,7 @@ static inline int scsi_populate_tag_msg(struct scsi_cmnd *cmd, char *msg)
        struct scsi_device *sdev = cmd->device;
 
         if (blk_rq_tagged(req)) {
-               if (sdev->ordered_tags && req->flags & REQ_HARDBARRIER)
+               if (sdev->ordered_tags && req->cmd_flags & REQ_HARDBARRIER)
                        *msg++ = MSG_ORDERED_TAG;
                else
                        *msg++ = MSG_SIMPLE_TAG;