summaryrefslogtreecommitdiffstats
path: root/fs/sync.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-09-12 23:23:02 +0200
committerChuck Lever <chuck.lever@oracle.com>2022-09-26 20:02:47 +0200
commitc3d2a04f05c590303c125a176e6e43df4a436fdb (patch)
tree995ce809b300e61dba28a7c5ab72cbede54975b9 /fs/sync.c
parentNFSD: Refactor common code out of dirlist helpers (diff)
downloadlinux-c3d2a04f05c590303c125a176e6e43df4a436fdb.tar.xz
linux-c3d2a04f05c590303c125a176e6e43df4a436fdb.zip
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 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions