Re: [2.6 patch] net/sunrpc/xdr.c: remove xdr_decode_string()

From: Neil Brown
Date: Wed Nov 23 2005 - 18:07:05 EST

On Wednesday November 23, bunk@xxxxxxxxx wrote:
> On Wed, Nov 23, 2005 at 04:31:14AM -0800, Lever, Charles wrote:
> > so i don't remember why you are removing xdr_decode_string. are we sure
> > that no-one will need this functionality in the future? it is harmless
> > to remove today, but i wonder if someone is just going to add it back
> > sometime.
> It's unused and you said:
> the only harmless change i see below is removing xdr_decode_string().

As 'xdr_decode_string' (sometimes) modifies the buffer that it is
decoding, I don't think it's usage should be encouraged. If it is no
longer in use, then I fully support and encourage removing it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at