summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChuck Lever <cel@kernel.org>2026-09-16 12:28:55 -0400
committerChuck Lever <cel@kernel.org>2026-10-11 23:12:56 -0400
commitfdb474ac9609765394532b836a5cf04458233c8e (patch)
tree1eec81907d86d33fa78fd2aaa7194050ac74f2e9 /tools/lib/python
parentf75cd625a8c2a77ca2d54bb2b64149e1f14ccca1 (diff)
downloadlinux-next-fdb474ac9609765394532b836a5cf04458233c8e.tar.gz
linux-next-fdb474ac9609765394532b836a5cf04458233c8e.zip
NFSD: Use xdrgen XDR functions for NFSv2 READDIR arguments
Replace the NFSPROC_READDIR entry's argument decoder in the nfsd_procedures2 array with the xdrgen-generated nfs_svc_decode_readdirargs. A wrapper structure bridges the generated xdrgen readdirargs 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 READDIR 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. Acked-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20260916162859.2051-27-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions