* Jens Axboe <[EMAIL PROTECTED]> wrote:

> > -                   sg = next_sg;
> > -                   next_sg = sg_next(sg);
> > +                   if (!sg)
> > +                           sg = sglist;
> > +                   else
> > +                           sg = sg_next(sg);
> >  
> >                     memset(sg, 0, sizeof(*sg));
> >                     sg->page = bvec->bv_page;
> > 
> 
> Scratch that, it cannot work... I'll think up a different approach.

too late, crashed my box with it already :-)

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

Reply via email to