Skip to contentSkip to conversation

master - cmirrord: deamon links libdm

PATCH Zdenek Kabelac 1 participant 1 message Oct 4, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ebc9274be07299e1defd332685a2dff2c5b43cdf
Commit:        ebc9274be07299e1defd332685a2dff2c5b43cdf
Parent:        a68258339da7e56910a2a3f6f98e43424ac219b6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Oct 4 17:23:34 2019 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Oct 4 17:31:55 2019 +0200

cmirrord: deamon links libdm

Correct included header files for this outdated tool since it's linked with libdm, it need to use header files from this dir.

---
 daemons/cmirrord/cluster.h   |    2 +-
 daemons/cmirrord/functions.h |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
daemons/cmirrord/cluster.h +1 -1
index 0efbd64..ccb2f35 100644
@@ -12,8 +12,8 @@
 #ifndef _LVM_CLOG_CLUSTER_H
 #define _LVM_CLOG_CLUSTER_H
 
-#include "libdm/misc/dm-log-userspace.h"
 #include "libdm/libdevmapper.h"
+#include "libdm/misc/dm-log-userspace.h"
 
 #define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */
 #define DM_ULOG_CHECKPOINT_READY 21
daemons/cmirrord/functions.h +2 -1
index 8a7301d..524fd0b 100644
@@ -12,7 +12,8 @@
 #ifndef _LVM_CLOG_FUNCTIONS_H
 #define _LVM_CLOG_FUNCTIONS_H
 
-#include "device_mapper/misc/dm-log-userspace.h"
+#include "libdm/libdevmapper.h"
+#include "libdm/misc/dm-log-userspace.h"
 #include "cluster.h"
 
 #define LOG_RESUMED   1