Skip to contentSkip to conversation

xdrgen: Remove inclusion of nlm4.h header

PATCH New Chuck Lever 1 participant 1 message Dec 22, 2025

Subsystems (3)
lore
Share & tools
lore

Chuck Lever

author maintainer
#0 lore raw

PATCH 1/1 xdrgen: Remove inclusion of nlm4.h header

From: Chuck Lever <[email protected]>

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")
---
 tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 | 1 -
 1 file changed, 1 deletion(-)
tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 +0 -1
index c5518c519854..df3598c38b2c 100644
@@ -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>
Signature · 1 line
2.52.0