From: Bartlomiej Zolnierkiewicz Date: Fri, 1 Feb 2008 22:09:25 +0000 (+0100) Subject: ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_newpc_intr() X-Git-Tag: v2.6.25-rc1~1078^2~57 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f537d50af7381317351396480411b3e00e6c7e;p=linux-2.6 ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_newpc_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 448140ba48..44267fb47f 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; }