X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-btrfs.c;h=02963efdc55ab27ebec39755e7acc8036246ee48;hb=fead3a9cead4912b325d22229f7ad2fe656108e6;hp=b531197652a5627f01a2f8c73ff5482ed2036201;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c index b5311976..02963efd 100644 --- a/probes/lttng-probe-btrfs.c +++ b/probes/lttng-probe-btrfs.c @@ -10,9 +10,13 @@ #include #include +#include #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 #include