From: Michael Jeanson Date: Mon, 30 Sep 2019 19:15:34 +0000 (-0400) Subject: Fix: btrfs: move basic block_group definitions to their own header (v5.4) X-Git-Tag: v2.9.15~1 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=a53d1e6db74ef7497f0ce6e6f59b743f17029778 Fix: btrfs: move basic block_group definitions to their own header (v5.4) commit aac0023c2106952538414254960c51dcf0dc39e9 Author: Josef Bacik 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c index 89fa3517..52f8cfe4 100644 --- a/probes/lttng-probe-btrfs.c +++ b/probes/lttng-probe-btrfs.c @@ -23,9 +23,13 @@ #include #include +#include #include <../fs/btrfs/ctree.h> #include <../fs/btrfs/transaction.h> #include <../fs/btrfs/volumes.h> +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0)) +#include <../fs/btrfs/block-group.h> +#endif #include #include