Files
linux/include
Chuck Lever c770f31d8f SUNRPC: Fix xdr_encode_bool()
I discovered that xdr_encode_bool() was returning the same address
that was passed in the @p parameter. The documenting comment states
that the intent is to return the address of the next buffer
location, just like the other "xdr_encode_*" helpers.

The result was the encoded results of NFSv3 PATHCONF operations were
not formed correctly.

Fixes: ded04a587f ("NFSD: Update the NFSv3 PATHCONF3res encoder to use struct xdr_stream")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
2022-07-29 20:08:56 -04:00
..
2022-06-14 11:15:19 +02:00
2022-05-16 13:23:00 -06:00
2022-07-29 20:08:56 -04:00
2022-05-24 11:24:58 -03:00
2022-06-24 16:21:41 +01:00