lkml.org 
[lkml]   [2000]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DVD capacity bug for IDE CD's in linux-2.4.0-test6
On Mon, Aug 14 2000, Adam J. Richter wrote:
> >That's a bit rough, though. How about something like
> >
> > if (!CDROM_STATE_FLAGS(drive)->toc_valid) {
> > int ret = cdrom_read_toc(drive, NULL);
> > if (ret)
> > return ret;
> > }
> >
> >so the toc entry is read and the toc itself refreshed. Does that work
> >as well (note untested, just typed it above)?
>
> But cdrom_read_toc is the routine that called this in
> the first place. That would create an infinite loop. Here, again,
> is the call graph from my original email:

Ah duh, it's way too late here. Your fix should suffice for now, I'll
split cdrom_read_toc and the toc handling into something a bit more
organized (you probably noted the mess).

--
* Jens Axboe <axboe@suse.de>
* SuSE Labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.142 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site