diff options
| author | 2026-05-12 14:14:03 -0400 | |
|---|---|---|
| committer | 2026-06-09 16:32:59 -0400 | |
| commit | 0e20aa949192712a362a35d863d35f5292b04555 (patch) | |
| tree | b7c4785c68ba88b454d36eebb74ba86903b62cda /scripts/Makefile.thinlto | |
| parent | lockd: Use xdrgen XDR functions for the NLMv3 CANCEL_RES procedure (diff) | |
lockd: Use xdrgen XDR functions for the NLMv3 UNLOCK_RES procedure
Continue the xdrgen migration by converting NLMv3 UNLOCK_RES,
the callback that a remote NLM uses to return async UNLOCK
results to this lockd. The procedure now uses
nlm_svc_decode_nlm_res and nlm_svc_encode_void, generated
from the NLM version 3 protocol specification.
Setting pc_argzero to zero is safe because the generated
decoder fills the argp->xdrgen subfields before the procedure
runs, so the zeroing memset performed by the dispatch layer
is no longer needed.
Setting pc_xdrressize to XDR_void reflects that UNLOCK_RES, as
a callback, returns no data; the previous value of St
over-reserved a status word in the reply buffer.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
