ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_intr()

Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 a11e77db
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册