diff options
| author | Chuck Lever <cel@kernel.org> | 2026-09-16 12:28:48 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-10-11 23:12:42 -0400 |
| commit | 09a9d80d750b8d044f3b2f2ac012fde1d858f57d (patch) | |
| tree | 7b7eb6d1d75d3d6b9fc3cea777e4348628fff972 /tools/lib/python | |
| parent | d3d1c5a3c7a7e48d7871433bcb5288845ff3f93c (diff) | |
| download | linux-next-09a9d80d750b8d044f3b2f2ac012fde1d858f57d.tar.gz linux-next-09a9d80d750b8d044f3b2f2ac012fde1d858f57d.zip | |
NFSD: Use xdrgen XDR functions for the NFSv2 REMOVE procedure
Replace the NFSPROC_REMOVE entry in the nfsd_procedures2 array
with an entry that dispatches the xdrgen-generated
nfs_svc_decode_diropargs and nfs_svc_encode_nfsstat. A wrapper
structure bridges the generated xdrgen diropargs type and the
legacy svc_fh representation the NFSD VFS layer still uses.
The pc_argzero field is now set to zero for the NFSv2 REMOVE
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.
The hand-coded nfssvc_decode_diropargs and nfssvc_encode_statres
remain for the procedures that still use them.
Acked-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260916162859.2051-20-cel@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
