Re: [PATCH] knfsd reply cache bug

H.J. Lu (hjl@lucon.org)
Mon, 7 Dec 1998 16:03:24 -0800 (PST)


>
> > Alan's patches have neatly wrapped up H.J.'s current patch set, this is a
> > diff against 2.1.131ac4.
> >
> > Here's the patch (my first ever, this is exciting!):
>
> > - resp->buf += ((data->len + 3) >> 2);
> > + memcpy(resp->buf, data->buf, data->len << 2);
>
> Ok this makes a lot of sense
>
> > + resp->buf += data->len;
>
> And ditto as its pointer scaled.
>
> Queued. I'll add it unless HJ says otherwise
>

It looks ok to me.

-- 
H.J. Lu (hjl@gnu.org)

- 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/