提交 8770c018 编写于 作者: J Jens Axboe

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

Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册