Skip to content
Snippets Groups Projects
Commit 8770c018 authored by Jens Axboe's avatar Jens Axboe
Browse files

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


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