diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-05-12 21:14:07 +0300 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-06-09 23:32:59 +0300 |
| commit | 1a2bba073f60f24777f6e7214b83387ed5e1d271 (patch) | |
| tree | 85c00931382421e3d441d39bca085ba1ef2a98dd /include/linux/timerqueue.h | |
| parent | 2403834551a9a36e937eeb1fc8522f5a0f5ce6e7 (diff) | |
| download | linux-1a2bba073f60f24777f6e7214b83387ed5e1d271.tar.xz | |
lockd: Use xdrgen XDR functions for the NLMv3 SHARE procedure
Convert the NLMv3 SHARE procedure to use xdrgen-generated XDR
functions nlm_svc_decode_nlm_shareargs and
nlm_svc_encode_nlm_shareres.
This patch introduces struct nlm_shareargs_wrapper and struct
nlm_shareres_wrapper to bridge between the xdrgen-generated
structures and the internal lockd types. The procedure handler
is updated to access arguments through the argp->xdrgen
hierarchy and uses nlm3svc_lookup_host and nlm3svc_lookup_file
for host and file resolution.
The .pc_argzero field is set to zero because the generated
decoder fills argp->xdrgen before the procedure runs, so the
zeroing memset performed by the dispatch layer is no longer
needed.
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
