]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/ide/ide-eh.c
block: fold cmd_type into the REQ_OP_ space
[mirror_ubuntu-bionic-kernel.git] / drivers / ide / ide-eh.c
index 1e4b1476e55926b9033201a9064826577758934f..cf3af68403689a62f9c237d7d1ced636a1aca6b5 100644 (file)
@@ -123,7 +123,7 @@ ide_startstop_t ide_error(ide_drive_t *drive, const char *msg, u8 stat)
                return ide_stopped;
 
        /* retry only "normal" I/O: */
-       if (rq->cmd_type != REQ_TYPE_FS) {
+       if (blk_rq_is_passthrough(rq)) {
                if (ata_taskfile_request(rq)) {
                        struct ide_cmd *cmd = rq->special;