X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-btrfs.c;h=52f8cfe4372250ea27fa3b6841047af7f6322dbd;hb=a53d1e6db74ef7497f0ce6e6f59b743f17029778;hp=89fa35178fa278c7120cd1b078a53bf959cb9b17;hpb=a4d12b3159c3566e74d7025ca04736a11308babc;p=lttng-modules.git 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