diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-05-12 21:14:08 +0300 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-06-09 23:32:59 +0300 |
| commit | ac3d7a8ca411e59546d69dbd23f24128924b426c (patch) | |
| tree | 96e5570d2b3e3c99a0bf3bf21f4c73a57a840633 /include/linux | |
| parent | 1a2bba073f60f24777f6e7214b83387ed5e1d271 (diff) | |
| download | linux-ac3d7a8ca411e59546d69dbd23f24128924b426c.tar.xz | |
lockd: Use xdrgen XDR functions for the NLMv3 UNSHARE procedure
Convert the NLMv3 UNSHARE procedure to use xdrgen-generated XDR
functions nlm_svc_decode_nlm_shareargs and
nlm_svc_encode_nlm_shareres.
The procedure handler is updated to use the wrapper structures
(nlm_shareargs_wrapper and nlm_shareres_wrapper) introduced by
the SHARE conversion patch and accesses arguments through the
argp->xdrgen hierarchy.
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')
0 files changed, 0 insertions, 0 deletions
