projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da79cba
)
[PATCH] ide-cd: one more missing REQ_TYPE_CMD_ATA check
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 12 Oct 2006 15:24:52 +0000
(17:24 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 12 Oct 2006 15:24:52 +0000
(17:24 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/ide/ide-cd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/ide-cd.c
b/drivers/ide/ide-cd.c
index e7513e55ace8b57d40018ac0e8e595898d97d051..bddfebdf91d8aea8a14ee0c0de25e0016e74ef63 100644
(file)
--- 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;