projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: btrfs: move basic block_group definitions to their own header (v5.4)
[lttng-modules.git]
/
probes
/
lttng-probe-btrfs.c
diff --git
a/probes/lttng-probe-btrfs.c
b/probes/lttng-probe-btrfs.c
index 89fa35178fa278c7120cd1b078a53bf959cb9b17..52f8cfe4372250ea27fa3b6841047af7f6322dbd 100644
(file)
--- a/
probes/lttng-probe-btrfs.c
+++ b/
probes/lttng-probe-btrfs.c
@@
-23,9
+23,13
@@
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/fs.h>
+#include <linux/version.h>
#include <../fs/btrfs/ctree.h>
#include <../fs/btrfs/transaction.h>
#include <../fs/btrfs/volumes.h>
#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 <linux/dcache.h>
#include <lttng-tracer.h>
#include <linux/dcache.h>
#include <lttng-tracer.h>
This page took
0.023939 seconds
and
4
git commands to generate.