diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-13 00:23:02 +0300 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 21:02:47 +0300 |
| commit | c3d2a04f05c590303c125a176e6e43df4a436fdb (patch) | |
| tree | 995ce809b300e61dba28a7c5ab72cbede54975b9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 98124f5bd6c76699d514fbe491dd95265369cc99 (diff) | |
| download | linux-c3d2a04f05c590303c125a176e6e43df4a436fdb.tar.xz | |
NFSD: Use xdr_inline_decode() to decode NFSv3 symlinks
Replace the check for buffer over/underflow with a helper that is
commonly used for this purpose. The helper also sets xdr->nwords
correctly after successfully linearizing the symlink argument into
the stream's scratch buffer.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
