summaryrefslogtreecommitdiff
path: root/daemons/lvmlockd
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-05-14 10:30:20 +0100
committerJoe Thornber <ejt@redhat.com>2018-05-14 10:30:20 +0100
commit7f97c7ea9ade36bab817aca9eeee5c5177550127 (patch)
tree2fac9b50b16b91dd22ca155223c26beba9677377 /daemons/lvmlockd
parent02b99be57eab4f55bd0db045a3873bdf5e500b92 (diff)
downloadlvm2-7f97c7ea9ade36bab817aca9eeee5c5177550127.tar.gz
build: Don't generate symlinks in include/ dir
As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/
Diffstat (limited to 'daemons/lvmlockd')
-rw-r--r--daemons/lvmlockd/lvmlockctl.c4
-rw-r--r--daemons/lvmlockd/lvmlockd-client.h2
-rw-r--r--daemons/lvmlockd/lvmlockd-core.c10
-rw-r--r--daemons/lvmlockd/lvmlockd-dlm.c6
-rw-r--r--daemons/lvmlockd/lvmlockd-sanlock.c6
5 files changed, 14 insertions, 14 deletions
diff --git a/daemons/lvmlockd/lvmlockctl.c b/daemons/lvmlockd/lvmlockctl.c
index 436221d90..2442b465c 100644
--- a/daemons/lvmlockd/lvmlockctl.c
+++ b/daemons/lvmlockd/lvmlockctl.c
@@ -8,9 +8,9 @@
* of the GNU Lesser General Public License v.2.1.
*/
-#include "tool.h"
+#include "tools/tool.h"
-#include "lvmlockd-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
#include <stddef.h>
#include <getopt.h>
diff --git a/daemons/lvmlockd/lvmlockd-client.h b/daemons/lvmlockd/lvmlockd-client.h
index bc9059621..16d16132a 100644
--- a/daemons/lvmlockd/lvmlockd-client.h
+++ b/daemons/lvmlockd/lvmlockd-client.h
@@ -11,7 +11,7 @@
#ifndef _LVM_LVMLOCKD_CLIENT_H
#define _LVM_LVMLOCKD_CLIENT_H
-#include "daemon-client.h"
+#include "libdaemon/client/daemon-client.h"
#define LVMLOCKD_SOCKET DEFAULT_RUN_DIR "/lvmlockd.socket"
diff --git a/daemons/lvmlockd/lvmlockd-core.c b/daemons/lvmlockd/lvmlockd-core.c
index df6e214e7..e75d02bc0 100644
--- a/daemons/lvmlockd/lvmlockd-core.c
+++ b/daemons/lvmlockd/lvmlockd-core.c
@@ -12,14 +12,14 @@
#define _ISOC99_SOURCE
#define _REENTRANT
-#include "tool.h"
+#include "tools/tool.h"
-#include "daemon-io.h"
+#include "libdaemon/client/daemon-io.h"
#include "daemon-server.h"
#include "lvm-version.h"
-#include "lvmetad-client.h"
-#include "lvmlockd-client.h"
-#include "dm-ioctl.h" /* for DM_UUID_LEN */
+#include "daemons/lvmetad/lvmetad-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
+#include "libdm/misc/dm-ioctl.h"
/* #include <assert.h> */
#include <errno.h>
diff --git a/daemons/lvmlockd/lvmlockd-dlm.c b/daemons/lvmlockd/lvmlockd-dlm.c
index d9dfabb4b..668c75bd6 100644
--- a/daemons/lvmlockd/lvmlockd-dlm.c
+++ b/daemons/lvmlockd/lvmlockd-dlm.c
@@ -11,13 +11,13 @@
#define _XOPEN_SOURCE 500 /* pthread */
#define _ISOC99_SOURCE
-#include "tool.h"
+#include "tools/tool.h"
#include "daemon-server.h"
-#include "xlate.h"
+#include "lib/mm/xlate.h"
#include "lvmlockd-internal.h"
-#include "lvmlockd-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
/*
* Using synchronous _wait dlm apis so do not define _REENTRANT and
diff --git a/daemons/lvmlockd/lvmlockd-sanlock.c b/daemons/lvmlockd/lvmlockd-sanlock.c
index a91218bb7..d5d68640d 100644
--- a/daemons/lvmlockd/lvmlockd-sanlock.c
+++ b/daemons/lvmlockd/lvmlockd-sanlock.c
@@ -11,13 +11,13 @@
#define _XOPEN_SOURCE 500 /* pthread */
#define _ISOC99_SOURCE
-#include "tool.h"
+#include "tools/tool.h"
#include "daemon-server.h"
-#include "xlate.h"
+#include "lib/mm/xlate.h"
#include "lvmlockd-internal.h"
-#include "lvmlockd-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
#include "sanlock.h"
#include "sanlock_rv.h"