Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package drbd for openSUSE:Factory checked in 
at 2026-11-10 14:41:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/drbd (Old)
 and      /work/SRC/openSUSE:Factory/.drbd.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "drbd"

Tue Nov 10 14:41:00 2026 rev:124 rq:1396426 version:9.1.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/drbd/drbd.changes        2026-08-17 
17:02:14.114905836 +0200
+++ /work/SRC/openSUSE:Factory/.drbd.new.3759290/drbd.changes   2026-11-10 
14:42:09.377929002 +0100
@@ -0,0 +1,7 @@
+-------------------------------------------------------------------
+Mon Nov  9 08:20:47 UTC 2026 - Jiri Slaby <[email protected]>
+
+- drbd: fix build error against kernel v7.4
+  * add suse special patch
+    + 0001-drbd-drbd_nl-include-umh.h-for-call_usermodehelper.patch
+

New:
----
  0001-drbd-drbd_nl-include-umh.h-for-call_usermodehelper.patch

----------(New B)----------
  New:  * add suse special patch
    + 0001-drbd-drbd_nl-include-umh.h-for-call_usermodehelper.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ drbd.spec ++++++
--- /var/tmp/diff_new_pack.2NjrvA/_old  2026-11-10 14:42:10.739986061 +0100
+++ /var/tmp/diff_new_pack.2NjrvA/_new  2026-11-10 14:42:10.741986145 +0100
@@ -48,6 +48,7 @@
 Patch1001:  bsc-1025089_fix-resync-finished-with-syncs-have-bits-set.patch
 Patch1002:  
bsc-1271076-drbd-consider-resync-after-peer-forced-Primary-from-.patch
 Patch1003:  suse-coccinelle.patch
+Patch1004:  0001-drbd-drbd_nl-include-umh.h-for-call_usermodehelper.patch
 
 ########################
 

++++++ 0001-drbd-drbd_nl-include-umh.h-for-call_usermodehelper.patch ++++++
From: Jiri Slaby <[email protected]>
Date: Mon, 9 Nov 2026 09:10:46 +0100
Subject: drbd/drbd_nl: include umh.h for call_usermodehelper()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
References: 7.4 build fix
Patch-mainline: https://github.com/LINBIT/drbd/pull/163

To fix build against 7.4:
drbd_nl.c: In function ‘drbd_khelper’:
drbd_nl.c:701:15: error: implicit declaration of function ‘call_usermodehelper’ 
[-Wimplicit-function-declaration]
  701 |         ret = call_usermodehelper(drbd_usermode_helper, argv, envp, 
UMH_WAIT_PROC);
      |               ^~~~~~~~~~~~~~~~~~~
drbd_nl.c:701:69: error: ‘UMH_WAIT_PROC’ undeclared (first use in this function)
  701 |         ret = call_usermodehelper(drbd_usermode_helper, argv, envp, 
UMH_WAIT_PROC);
      |                                                                     
^~~~~~~~~~~~~
drbd_nl.c:701:69: note: each undeclared identifier is reported only once for 
each function it appears in

In 7.4, commit d6bfb4a05aff ("module: Bring includes in linux/kmod.h up
to date") removed umh.h include from kmod.h.

Signed-off-by: Jiri Slaby <[email protected]>
---
 drbd/drbd_nl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drbd/drbd_nl.c b/drbd/drbd_nl.c
index ec9027e973e9..340b7025e148 100644
--- a/drbd/drbd_nl.c
+++ b/drbd/drbd_nl.c
@@ -22,6 +22,7 @@
 #include <linux/blkpg.h>
 #include <linux/cpumask.h>
 #include <linux/random.h>
+#include <linux/umh.h>
 #include "drbd_int.h"
 #include "drbd_protocol.h"
 #include "drbd_req.h"
-- 
2.56.0

Reply via email to