diff options
| author | Chuck Lever <cel@kernel.org> | 2026-09-16 12:28:49 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-10-11 23:12:44 -0400 |
| commit | 8c8c95255e3499a7eaff6cbb372934cbe7b11fec (patch) | |
| tree | bb69dff6dea32a5991b28a0f09be162e9e331d0d /tools/lib/python | |
| parent | 09a9d80d750b8d044f3b2f2ac012fde1d858f57d (diff) | |
| download | linux-next-8c8c95255e3499a7eaff6cbb372934cbe7b11fec.tar.gz linux-next-8c8c95255e3499a7eaff6cbb372934cbe7b11fec.zip | |
NFSD: Use xdrgen XDR functions for the NFSv2 RENAME procedure
Replace the NFSPROC_RENAME entry in the nfsd_procedures2 array
with an entry that dispatches the xdrgen-generated
nfs_svc_decode_renameargs and nfs_svc_encode_nfsstat. A wrapper
structure bridges the generated xdrgen renameargs type and the
legacy svc_fh representations the NFSD VFS layer still uses.
The pc_argzero field is now set to zero for the NFSv2 RENAME
procedure. The xdrgen decoders are trusted to initialize all
arguments in the argp->xdrgen field, making the early defensive
memset unnecessary. The remaining argp fields are cleared as
needed.
nfssvc_decode_renameargs() no longer has any callers, so it is
removed.
Acked-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260916162859.2051-21-cel@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
