Commit 8770c018 authored by Jens Axboe's avatar Jens Axboe

[PATCH] ide-cd: one more missing REQ_TYPE_CMD_ATA check

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent da79cbae
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment