[PATCH nfs-utils 01/17] nfsdctl: move *_netlink.h to support/include/

Jeff Layton
2026-03-16T15:16:54Z

Move lockd_netlink.h and nfsd_netlink.h from utils/nfsdctl/ to
support/include/ so they are available to other components.

The support/include/ directory is already in the default include path
(via AC_CONFIG_HEADERS), so no source-level #include changes are
needed.
---
support/include/Makefile.am | 6 ++++--
{utils/nfsdctl => support/include}/lockd_netlink.h | 0
{utils/nfsdctl => support/include}/nfsd_netlink.h | 0
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/support/include/Makefile.am b/support/include/Makefile.am
index 631a84f808ae9f2a13d9539c70c09670c5ef0ff2..2b45e56b044c35c0e7a11aec5f583d600fcae6a0 100644
--- a/support/include/Makefile.am
+++ b/support/include/Makefile.am
@@ -4,13 +4,16 @@ SUBDIRS = nfs rpcsvc sys

noinst_HEADERS = \
cld.h \
+ conffile.h \
exportfs.h \
ha-callout.h \
junction.h \
+ lockd_netlink.h \
misc.h \
nfs_mntent.h \
nfs_paths.h \
nfs_ucred.h \
+ nfsd_netlink.h \
nfsd_path.h \
nfslib.h \
nfsrpc.h \
@@ -26,7 +29,6 @@ noinst_HEADERS = \
xlog.h \
xmalloc.h \
xcommon.h \
- xstat.h \
- conffile.h
+ xstat.h

MAINTAINERCLEANFILES = Makefile.in
diff --git a/utils/nfsdctl/lockd_netlink.h b/support/include/lockd_netlink.h
similarity index 100%
rename from utils/nfsdctl/lockd_netlink.h
rename to support/include/lockd_netlink.h
diff --git a/utils/nfsdctl/nfsd_netlink.h b/support/include/nfsd_netlink.h
similarity index 100%
rename from utils/nfsdctl/nfsd_netlink.h
rename to support/include/nfsd_netlink.h

--
2.53.0