fix: UTS_UBUNTU_RELEASE_ABI is close to overflow
[lttng-modules.git] / probes / lttng-probe-btrfs.c
index 89fa35178fa278c7120cd1b078a53bf959cb9b17..7659eab421fe445d5ae9881a36375905d8fbca2b 100644 (file)
 
 #include <linux/module.h>
 #include <linux/fs.h>
+#include <lttng-kernel-version.h>
 #include <../fs/btrfs/ctree.h>
 #include <../fs/btrfs/transaction.h>
 #include <../fs/btrfs/volumes.h>
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,4,0))
+#include <../fs/btrfs/block-group.h>
+#endif
 #include <linux/dcache.h>
 #include <lttng-tracer.h>
 
This page took 0.022933 seconds and 4 git commands to generate.