From: Jens Axboe Date: Thu, 12 Oct 2006 15:24:52 +0000 (+0200) Subject: [PATCH] ide-cd: one more missing REQ_TYPE_CMD_ATA check X-Git-Tag: firefly_0821_release~32071 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8770c018da7bbaa3b41371abc401b2aa7e76a71a;p=firefly-linux-kernel-4.4.55.git [PATCH] ide-cd: one more missing REQ_TYPE_CMD_ATA check Signed-off-by: Jens Axboe --- diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index e7513e55ace8..bddfebdf91d8 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -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;