diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-01-28 18:19:22 +0300 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2026-03-30 04:25:09 +0300 |
| commit | aa772bcc40e1722302b05045d96c0169ac5a2717 (patch) | |
| tree | 33a9ecfb1e1a74c954ab1caeea742832419ff638 /include | |
| parent | 01afb9008527d2be96046a6859de2951306a93e9 (diff) | |
| download | linux-aa772bcc40e1722302b05045d96c0169ac5a2717.tar.xz | |
lockd: Simplify cast_status() in svcproc.c
Clean up: The svcproc.c file handles only NLM v1 and v3 requests.
NLMv4 requests are routed to a separate procedure table in
svc4proc.c, so rqstp->rq_vers can never be 4 in this context.
Remove the unused vers parameter and the dead "vers != 4" check from
cast_to_nlm(). This eliminates the need for the macro wrapper.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
