aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:27 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:27 -0500
commit48ea0b216ba96d14228ee0cb4c964b3b495ff0a8 (patch)
tree6ead703e250244326e10148f23246a13f0d4cf88 /drivers/ide/ide-cd.c
parenta11e77db4982d44bf610dc7257b0fca3f7202403 (diff)
ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 2a520bd27a37..53af68eed875 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)
1316 */ 1316 */
1317 cdrom_buffer_sectors(drive, rq->sector, 1317 cdrom_buffer_sectors(drive, rq->sector,
1318 thislen >> 9); 1318 thislen >> 9);
1319 else 1319 else {
1320 printk(KERN_ERR "%s: %s: confused, missing " 1320 printk(KERN_ERR "%s: %s: confused, missing "
1321 "data\n", 1321 "data\n",
1322 drive->name, __FUNCTION__); 1322 drive->name, __FUNCTION__);
1323 blk_dump_rq_flags(rq, "cdrom_rw_intr, write");
1324 }
1323 break; 1325 break;
1324 } 1326 }
1325 1327