From: Bartlomiej Zolnierkiewicz Date: Fri, 1 Feb 2008 22:09:27 +0000 (+0100) Subject: ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_intr() X-Git-Tag: v2.6.25-rc1~1078^2~44 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ea0b216ba96d14228ee0cb4c964b3b495ff0a8;p=linux-2.6 ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_intr() Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 2a520bd27a..53af68eed8 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; }