diff options
| author | 2026-05-12 14:13:54 -0400 | |
|---|---|---|
| committer | 2026-06-09 16:32:59 -0400 | |
| commit | 596401c14c7ed86c9e8f4224950f22b6e2cc0a09 (patch) | |
| tree | cf35123d883f9ad6c130aa2c72541377a26afb09 /scripts/Makefile.thinlto | |
| parent | lockd: Use xdrgen XDR functions for the NLMv3 GRANTED procedure (diff) | |
lockd: Refactor nlmsvc_callback()
The xdrgen-based XDR conversion requires each RPC procedure to
extract its own arguments, since xdrgen generates distinct
argument structures for each procedure rather than using a
single shared type.
Move the host lookup logic from nlmsvc_callback() into each
of the five MSG procedure handlers (TEST_MSG, LOCK_MSG,
CANCEL_MSG, UNLOCK_MSG, and GRANTED_MSG). Each handler now
performs its own host lookup from rqstp->rq_argp and passes
the resulting host pointer to nlmsvc_callback(). This
establishes the per-procedure argument-handling pattern that
the subsequent xdrgen conversion patches require.
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
