diff options
| author | 2026-02-17 17:07:05 -0500 | |
|---|---|---|
| committer | 2026-03-29 21:25:09 -0400 | |
| commit | 62721885e8610425403bc17e358b67db466e3cf8 (patch) | |
| tree | 2a8819ceb6e20e44ae79f809adc095d14eb9ef6e /tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git: | |
| parent | lockd: Use xdrgen XDR functions for the NLMv4 UNLOCK_MSG procedure (diff) | |
lockd: Use xdrgen XDR functions for the NLMv4 GRANTED_MSG procedure
Convert the GRANTED_MSG procedure to use xdrgen functions
nlm4_svc_decode_nlm4_testargs and nlm4_svc_encode_void.
The procedure handler uses the nlm4_testargs_wrapper
structure that bridges between xdrgen types and the legacy
nlm_lock representation.
The pc_argzero field is set to zero because xdrgen decoders
reliably initialize all arguments, making the early
defensive memset unnecessary.
The NLM async callback mechanism uses client-side functions
which continue to take legacy struct nlm_res, preventing
GRANTED and GRANTED_MSG from sharing code for now.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
