lkml.org 
[lkml]   [2003]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.69-70 ide-cd to guarantee fault-free CD/DVD burning experience?
On Wed, May 28 2003, Jens Axboe wrote:
> > @@ -1609,7 +1615,7 @@
> >
> > static void post_transform_command(struct request *req)
> > {
> > - char *ibuf = req->buffer;
> > + char *ibuf = req->data?req->data:req->buffer;
> > u8 *c = req->cmd;
> >
> > if (!blk_pc_request(req))
>
> That is bad, though. I've changed this to just bail on !ibuf.

Sorry I misread that, ->data is the one we want. I'm wondering how this
got mixed up... So to clarify:

char *ibuf = req->data;

if (!blk_pc_request(req))
return;
if (!ibuf)
return;

--
Jens Axboe

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

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