linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Move version.h into a common include directory
@ 2021-09-22 15:36 Steve Dickson
  2021-09-22 15:36 ` [PATCH 2/2] mountd: only do NFSv4 logging on supported kernels Steve Dickson
  2021-09-23 16:36 ` [PATCH 1/2] Move version.h into a common include directory Steve Dickson
  0 siblings, 2 replies; 4+ messages in thread
From: Steve Dickson @ 2021-09-22 15:36 UTC (permalink / raw)
  To: Linux NFS Mailing list

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/include/version.h | 1 +
 utils/gssd/svcgssd_krb5.c | 2 +-
 utils/nfsd/nfssvc.c       | 2 +-
 utils/nfsdcld/nfsdcld.c   | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
 create mode 120000 support/include/version.h

diff --git a/support/include/version.h b/support/include/version.h
new file mode 120000
index 00000000..b7db0bbb
--- /dev/null
+++ b/support/include/version.h
@@ -0,0 +1 @@
+../../utils/mount/version.h
\ No newline at end of file
diff --git a/utils/gssd/svcgssd_krb5.c b/utils/gssd/svcgssd_krb5.c
index 305d4751..2503c384 100644
--- a/utils/gssd/svcgssd_krb5.c
+++ b/utils/gssd/svcgssd_krb5.c
@@ -46,7 +46,7 @@
 #include "gss_oids.h"
 #include "err_util.h"
 #include "svcgssd_krb5.h"
-#include "../mount/version.h"
+#include "version.h"
 
 #define MYBUFLEN 1024
 
diff --git a/utils/nfsd/nfssvc.c b/utils/nfsd/nfssvc.c
index 720bdd97..46452d97 100644
--- a/utils/nfsd/nfssvc.c
+++ b/utils/nfsd/nfssvc.c
@@ -25,7 +25,7 @@
 #include "nfslib.h"
 #include "xlog.h"
 #include "nfssvc.h"
-#include "../mount/version.h"
+#include "version.h"
 
 #ifndef NFSD_FS_DIR
 #define NFSD_FS_DIR	  "/proc/fs/nfsd"
diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c
index 636c3983..dbc7a57f 100644
--- a/utils/nfsdcld/nfsdcld.c
+++ b/utils/nfsdcld/nfsdcld.c
@@ -45,7 +45,7 @@
 #include "cld.h"
 #include "cld-internal.h"
 #include "sqlite.h"
-#include "../mount/version.h"
+#include "version.h"
 #include "conffile.h"
 #include "legacy.h"
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-23 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-22 15:36 [PATCH 1/2] Move version.h into a common include directory Steve Dickson
2021-09-22 15:36 ` [PATCH 2/2] mountd: only do NFSv4 logging on supported kernels Steve Dickson
2021-09-23 16:37   ` Steve Dickson
2021-09-23 16:36 ` [PATCH 1/2] Move version.h into a common include directory Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).