X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=probes%2Flttng-probe-btrfs.c;h=69e69aaffd6c0ac222b1a46b637f3091f4c20498;hp=b531197652a5627f01a2f8c73ff5482ed2036201;hb=afb196cca4d1da893d82d028b02ad47163707d72;hpb=4e47802a923286a71ace2ade6a4ffd41099697b5 diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c index b5311976..69e69aaf 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 (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0)) +#include <../fs/btrfs/block-group.h> +#endif #include #include