Hello community,

here is the log from the commit of package lttng-modules for openSUSE:Leap:15.2 
checked in at 2020-03-29 14:55:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/lttng-modules (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.lttng-modules.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lttng-modules"

Sun Mar 29 14:55:57 2020 rev:29 rq:789164 version:2.10.10

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/lttng-modules/lttng-modules.changes    
2020-01-31 17:19:52.716502828 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.lttng-modules.new.3160/lttng-modules.changes  
2020-03-29 14:55:57.987170697 +0200
@@ -1,0 +2,8 @@
+Fri Mar 27 01:26:26 UTC 2020 - Tony Jones <to...@suse.com>
+
+- Fix build error caused by btrfs_block_group_cache moving to a new include 
+  file (bsc#1167703)
+
+  New patch: btrfs-move-basic-block_group-definitions-to-their-own-header.patch
+
+-------------------------------------------------------------------

New:
----
  btrfs-move-basic-block_group-definitions-to-their-own-header.patch

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

Other differences:
------------------
++++++ lttng-modules.spec ++++++
--- /var/tmp/diff_new_pack.WgxBBs/_old  2020-03-29 14:55:58.451171058 +0200
+++ /var/tmp/diff_new_pack.WgxBBs/_new  2020-03-29 14:55:58.451171058 +0200
@@ -44,6 +44,7 @@
 %endif
 ExclusiveArch:  x86_64
 Patch1:         update-timer-instrumentation-on-4.16-and-4.14-rt.patch
+Patch2:         
btrfs-move-basic-block_group-definitions-to-their-own-header.patch
 
 %suse_kernel_module_package -p %{name}-preamble ec2 xen xenpae vmi um 
 
@@ -64,7 +65,7 @@
 
 %prep
 %setup -q
-%patch1 -p1
+%autopatch -p1
 
 set -- * 
 mkdir source 

++++++ btrfs-move-basic-block_group-definitions-to-their-own-header.patch ++++++
From: Michael Jeanson <mjean...@efficios.com>
Date: Mon Sep 30 15:15:34 2019 -0400
Subject: btrfs: move basic block_group definitions to their own header 
Git-commit: 8bd83947195193c277b6d31aef56a1e5576da74c
References: bsc#1167703
Signed-off-by: Tony Jones <to...@suse.de>

    Fix: btrfs: move basic block_group definitions to their own header (v5.4)
    
      commit aac0023c2106952538414254960c51dcf0dc39e9
      Author: Josef Bacik <jo...@toxicpanda.com>
      Date:   Thu Jun 20 15:37:44 2019 -0400
    
        btrfs: move basic block_group definitions to their own header
    
        This is prep work for moving all of the block group cache code into its
        own file.
    
    Signed-off-by: Michael Jeanson <mjean...@efficios.com>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoy...@efficios.com>

diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c
index 89fa351..52f8cfe 100644
--- a/probes/lttng-probe-btrfs.c
+++ b/probes/lttng-probe-btrfs.c
@@ -23,9 +23,13 @@
 
 #include <linux/module.h>
 #include <linux/fs.h>
+#include <linux/version.h>
 #include <../fs/btrfs/ctree.h>
 #include <../fs/btrfs/transaction.h>
 #include <../fs/btrfs/volumes.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0) || defined 
(CONFIG_SUSE_KERNEL))
+#include <../fs/btrfs/block-group.h>
+#endif
 #include <linux/dcache.h>
 #include <lttng-tracer.h>
 

Reply via email to