aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 23:09:25 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 23:09:25 +0100
commit03f537d50af7381317351396480411b3e00e6c7e (patch)
tree42e55eacf294cb53753d0190c2ee700f8b5ceebe /drivers/ide/ide-cd.c
parent98add71ee0af6dbf1496ac8007bcf253c4e23078 (diff)
downloadkernel_samsung_aries-03f537d50af7381317351396480411b3e00e6c7e.zip
kernel_samsung_aries-03f537d50af7381317351396480411b3e00e6c7e.tar.gz
kernel_samsung_aries-03f537d50af7381317351396480411b3e00e6c7e.tar.bz2
ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_newpc_intr()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 448140b..44267fb 100644
--- 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;
}