1From 4c40289eb9e47cfd272a8cc402fd2ddb29e2a3dc Mon Sep 17 00:00:00 2001 2From: Alexander Aring <aahringo@redhat.com> 3Date: Wed, 24 May 2023 13:50:59 +0000 4Subject: [PATCH] dlm_controld: remove unnecessary header include 5 6The timewarn netlink functionality got dropped and will be removed by 7kernel v6.4. The user space part was already dropped by commit 34ea31e7 8("controld: remove timewarn handling"). This is just a left over of this 9commit. Recent builds fails now because the UAPI header in the Linux 10kernel was removed. This means older dlm sources cannot be build with 11newer kernel-headers, however it is not recommended to use older dlm 12sources and all existing users should upgrade anyway. 13 14Upstream-Status: Backport [https://pagure.io/dlm/c/ddbba6608896f81bfce8f8edf3d0f507714cfc43?branch=main] 15Reported-by: Fabio M. Di Nitto <fdinitto@redhat.com> 16Signed-off-by: Khem Raj <raj.khem@gmail.com> 17--- 18 dlm_controld/main.c | 1 - 19 1 file changed, 1 deletion(-) 20 21diff --git a/dlm_controld/main.c b/dlm_controld/main.c 22index 7cf6348..e70e96a 100644 23--- a/dlm_controld/main.c 24+++ b/dlm_controld/main.c 25@@ -12,7 +12,6 @@ 26 #include <pthread.h> 27 #include <linux/netlink.h> 28 #include <linux/genetlink.h> 29-#include <linux/dlm_netlink.h> 30 #include <uuid/uuid.h> 31 32 #ifdef USE_SD_NOTIFY 33-- 342.41.0 35 36