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