From c76681596ed2f2824c626b40d76752a3c19526d2 Mon Sep 17 00:00:00 2001 From: Jonathan Earl Brassow Date: Fri, 18 Jun 2010 20:58:04 +0000 Subject: [PATCH] daemons/cmirrord/functions.c (part of cmirrord) was referencing linux/kdev_t.h even though it wasn't needed. Strangely, it seems to be causing problems on various architectures (i686) in the function daemons/cmirrord/functions.c:disk_status_info()->sprintf. I'm not sure why this is a problem since none of the macros in kdev_t.h are used in that code, but it certainly doesn't hurt to pull an unnecessary header and it seems to fix the problem. --- WHATS_NEW | 1 + daemons/cmirrord/functions.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index 24f2ee7dc..f8347ecea 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.68 - =============================== + Unneeded kdev_t.h reference causing harm for cmirrord on some archs. Add man pages for lvmconf and unsupported lvmsadc and lvmsar tools. Fix exit code when requesting help using documented -o help option. Do not use internal DLM lock definitions in generic LVM2 clvmd code. diff --git a/daemons/cmirrord/functions.c b/daemons/cmirrord/functions.c index 5739bcec7..1412b8e55 100644 --- a/daemons/cmirrord/functions.c +++ b/daemons/cmirrord/functions.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include -- 2.43.5