diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:25 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:25 -0500 |
commit | 03f537d50af7381317351396480411b3e00e6c7e (patch) | |
tree | 42e55eacf294cb53753d0190c2ee700f8b5ceebe | |
parent | 98add71ee0af6dbf1496ac8007bcf253c4e23078 (diff) |
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>
-rw-r--r-- | drivers/ide/ide-cd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 448140ba4848..44267fb47f2e 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) | |||
1365 | } | 1365 | } |
1366 | 1366 | ||
1367 | if (!ptr) { | 1367 | if (!ptr) { |
1368 | printk(KERN_ERR "%s: confused, missing data\n", drive->name); | 1368 | printk(KERN_ERR "%s: confused, missing data\n", |
1369 | drive->name); | ||
1370 | blk_dump_rq_flags(rq, rq_data_dir(rq) | ||
1371 | ? "cdrom_newpc_intr, write" | ||
1372 | : "cdrom_newpc_intr, read"); | ||
1369 | break; | 1373 | break; |
1370 | } | 1374 | } |
1371 | 1375 | ||