projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98add71
)
ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_newpc_intr()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:25 +0000
(23:09 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:25 +0000
(23:09 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-cd.c
b/drivers/ide/ide-cd.c
index 448140ba484888d154a11476d27879eb84e95674..44267fb47f2e972d485bea3ad88e6a6e1dda270a 100644
(file)
--- a/
drivers/ide/ide-cd.c
+++ b/
drivers/ide/ide-cd.c
@@
-1365,7
+1365,11
@@
static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive)
}
if (!ptr) {
- printk(KERN_ERR "%s: confused, missing data\n", drive->name);
+ printk(KERN_ERR "%s: confused, missing data\n",
+ drive->name);
+ blk_dump_rq_flags(rq, rq_data_dir(rq)
+ ? "cdrom_newpc_intr, write"
+ : "cdrom_newpc_intr, read");
break;
}