File sle_btrfs-move-basic-block_group-definitions-to-their-own-header.patch of Package lttng-modules
From: Tony Jones <tonyj@suse.de>
Subject: btrfs: move basic block_group definitions to their own header
Git-commit: 8bd83947195193c277b6d31aef56a1e5576da74c
Handle SLE backport.
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
@@ -27,7 +27,7 @@
#include <../fs/btrfs/ctree.h>
#include <../fs/btrfs/transaction.h>
#include <../fs/btrfs/volumes.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0) || defined (CONFIG_SUSE_KERNEL))
#include <../fs/btrfs/block-group.h>
#endif
#include <linux/dcache.h>