Skip to contentSkip to conversation

dlm_controld: remove unnecessary header include

PATCH New Alexander Aring 1 participant 1 message May 24, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dlm_controld: remove unnecessary header include

The timewarn netlink functionality got dropped and will be removed by kernel v6.4. The user space part was already dropped by commit 34ea31e7 ("controld: remove timewarn handling"). This is just a left over of this commit. Recent builds fails now because the UAPI header in the Linux kernel was removed. This means older dlm sources cannot be build with newer kernel-headers, however it is not recommended to use older dlm sources and all existing users should upgrade anyway.

---
 dlm_controld/main.c | 1 -
 1 file changed, 1 deletion(-)
dlm_controld/main.c +0 -1
index c9d1c5f1..14be5edd 100644
@@ -12,7 +12,6 @@
 #include <pthread.h>
 #include <linux/netlink.h>
 #include <linux/genetlink.h>
-#include <linux/dlm_netlink.h>
 #include <uuid/uuid.h>
 
 #ifdef USE_SD_NOTIFY
Signature · 1 line
2.31.1