commit | 8770c018da7bbaa3b41371abc401b2aa7e76a71a | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 12 17:24:52 2006 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 12 17:24:52 2006 +0200 |
tree | 456606758ff3a920550651299b6770feebbcbbc0 | |
parent | da79cbae39516e7bdee8b0edb366e8ff016a9d3e [diff] [blame] |
[PATCH] ide-cd: one more missing REQ_TYPE_CMD_ATA check Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index e7513e5..bddfebd 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c
@@ -716,7 +716,7 @@ 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;