]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xdrgen: Remove inclusion of nlm4.h header
authorChuck Lever <chuck.lever@oracle.com>
Mon, 22 Dec 2025 14:44:29 +0000 (09:44 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 26 Jan 2026 15:10:58 +0000 (10:10 -0500)
The client-side source code template mistakenly includes the
nlm4.h header file, which is specific to the NLM protocol and
should not be present in the generic template that generates
client stubs for all XDR-based protocols.

Fixes: 903a7d37d9ea ("xdrgen: Update the files included in client-side source code")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2

index c5518c519854a0826f109676bb7fc1a0144a83bb..df3598c38b2c29a6a263067ff066bfd4436f8219 100644 (file)
@@ -8,6 +8,5 @@
 #include <linux/sunrpc/xdr.h>
 #include <linux/sunrpc/xdrgen/_defs.h>
 #include <linux/sunrpc/xdrgen/_builtins.h>
-#include <linux/sunrpc/xdrgen/nlm4.h>
 
 #include <linux/sunrpc/clnt.h>