Re: [PATCH] knfsd reply cache bug

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 7 Dec 1998 01:29:05 +0000 (GMT)


> 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

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