summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChuck Lever <cel@kernel.org>2026-09-16 12:28:50 -0400
committerChuck Lever <cel@kernel.org>2026-10-11 23:12:46 -0400
commit0e1a98a6389efc207f2f42a5c221411c3aa2698e (patch)
tree0b45efc3343ad7f6856d5df4b5e99d92c247fa64 /tools/lib/python
parent8c8c95255e3499a7eaff6cbb372934cbe7b11fec (diff)
downloadlinux-next-0e1a98a6389efc207f2f42a5c221411c3aa2698e.tar.gz
linux-next-0e1a98a6389efc207f2f42a5c221411c3aa2698e.zip
NFSD: Use xdrgen XDR functions for the NFSv2 LINK procedure
Replace the NFSPROC_LINK entry in the nfsd_procedures2 array with an entry that dispatches the xdrgen-generated nfs_svc_decode_linkargs and nfs_svc_encode_nfsstat. A wrapper structure bridges the generated xdrgen linkargs 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 LINK 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_linkargs() no longer has any callers, so it is removed. Acked-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20260916162859.2051-22-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions