fix: btrfs: move basic block_group definitions to their own header (v5.4)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedMerged into master, 2.11, 2.10, 2.9, thanks!
Mathieu
Quoted 34 lines · ----- On Sep 30, 2019, at 3:15 PM, Michael Jeanson [email protected] wrote:
commit
aac0023c2106952538414254960c51dcf0dc39e9
Author: Josef Bacik <[email protected]>
Date: Thu Jun 20 15:37:44 2019 -0400btrfs: move basic
block_groupdefinitions to their own headerThis is prep work for moving all of the block group cache code into its own file.
Signed-off-by Michael Jeanson <[email protected]>---
probes/lttng-probe-btrfs.c| 4 ++++1 file changed, 4 insertions(+)probes/lttng-probe-btrfs.c +4
-1@@ -10,9 +10,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 )) +#include <../fs/btrfs/block-group.h> +#endif #include <linux/dcache.h> #include <lttng-tracer.h> --2.17.1
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com