summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2026-05-12 21:13:48 +0300
committerChuck Lever <cel@kernel.org>2026-06-09 23:32:59 +0300
commit94c281d5e98921b7bfe5c9090f6355a30fffaa65 (patch)
tree4be8674864b98bd042db302d4ab2854a5809b956 /include/linux/timerqueue.h
parent94e8b24e7daaa50e3af9c66b3cc6a67c942df875 (diff)
downloadlinux-94c281d5e98921b7bfe5c9090f6355a30fffaa65.tar.xz
lockd: Use xdrgen XDR functions for the NLMv3 NULL procedure
Hand-written XDR encoders and decoders are difficult to maintain and can diverge from protocol specifications. Migrating to xdrgen-generated code improves type safety and ensures the implementation matches the NLM version 3 protocol specification exactly. Convert the NULL procedure to use nlm_svc_decode_void and nlm_svc_encode_void, generated from Documentation/sunrpc/xdr/nlm3.x. NULL has no arguments or results, so it is the first procedure converted. NULL returns no XDR-encoded data, so pc_xdrressize is set to XDR_void. The argzero field is also set to zero since xdrgen decoders initialize all decoded values. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions