[PATCH] ide-cd: one more missing REQ_TYPE_CMD_ATA check
authorJens Axboe <jens.axboe@oracle.com>
Thu, 12 Oct 2006 15:24:52 +0000 (17:24 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 12 Oct 2006 15:24:52 +0000 (17:24 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/ide/ide-cd.c

index e7513e55ace8b57d40018ac0e8e595898d97d051..bddfebdf91d8aea8a14ee0c0de25e0016e74ef63 100644 (file)
@@ -716,7 +716,7 @@ static int cdrom_decode_status(ide_drive_t *drive, int good_stat, int *stat_ret)
                ide_error(drive, "request sense failure", stat);
                return 1;
 
-       } else if (blk_pc_request(rq)) {
+       } else if (blk_pc_request(rq) || rq->cmd_type == REQ_TYPE_ATA_PC) {
                /* All other functions, except for READ. */
                unsigned long flags;