diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-05-12 21:13:54 +0300 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-06-09 23:32:59 +0300 |
| commit | 596401c14c7ed86c9e8f4224950f22b6e2cc0a09 (patch) | |
| tree | cf35123d883f9ad6c130aa2c72541377a26afb09 /include/linux/timerqueue.h | |
| parent | e04d248b8a1e90df2bbb9c8a06fa34024ee9bdf0 (diff) | |
| download | linux-596401c14c7ed86c9e8f4224950f22b6e2cc0a09.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
