Skip to content

Commit

Permalink
ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_intr()
Browse files Browse the repository at this point in the history
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 1, 2008
1 parent a11e77d commit 48ea0b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 48ea0b2

Please sign in to comment.