aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2022-07-19 09:18:35 -0400
committerChuck Lever <[email protected]>2022-07-29 20:08:56 -0400
commitc770f31d8f580ed4b965c64f924ec1cc50e41734 (patch)
treeec1d8c780b68c7c23d2c14841569cc1018d336dc /tools/perf/scripts/python
parent23ba98de6dcec665e15c0ca19244379bb0d30932 (diff)
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: ded04a587f6c ("NFSD: Update the NFSv3 PATHCONF3res encoder to use struct xdr_stream") Signed-off-by: Chuck Lever <[email protected]> Reviewed-by: Jeff Layton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions