]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/scsi_transport_spi.c
[SCSI] st: convert read_mode_page to use st_scsi_kern_execute
[linux-2.6-omap-h63xx.git] / drivers / scsi / scsi_transport_spi.c
index b29360ed0bdc9f0c2dd6a80c06cd4ef09a5cee66..96361aa709061955289492912958814f1ba063a6 100644 (file)
@@ -109,7 +109,10 @@ static int spi_execute(struct scsi_device *sdev, const void *cmd,
        for(i = 0; i < DV_RETRIES; i++) {
                result = scsi_execute(sdev, cmd, dir, buffer, bufflen,
                                      sense, DV_TIMEOUT, /* retries */ 1,
-                                     REQ_FAILFAST);
+                                     REQ_FAILFAST_DEV |
+                                     REQ_FAILFAST_TRANSPORT |
+                                     REQ_FAILFAST_DRIVER,
+                                     NULL);
                if (result & DRIVER_SENSE) {
                        struct scsi_sense_hdr sshdr_tmp;
                        if (!sshdr)