From 48ea0b216ba96d14228ee0cb4c964b3b495ff0a8 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Fri, 1 Feb 2008 23:09:27 +0100 Subject: [PATCH] ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_intr() Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ide/ide-cd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 2a520bd27a3..53af68eed87 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -1316,10 +1316,12 @@ static ide_startstop_t cdrom_rw_intr(ide_drive_t *drive) */ cdrom_buffer_sectors(drive, rq->sector, thislen >> 9); - else + else { printk(KERN_ERR "%s: %s: confused, missing " "data\n", drive->name, __FUNCTION__); + blk_dump_rq_flags(rq, "cdrom_rw_intr, write"); + } break; } -- 2.41.1