aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2023-08-25 20:19:28 +0000
committerDavid Sterba <[email protected]>2023-10-12 14:44:03 +0000
commit5335f4376cdc3b19e2b36bf31ad6664092f0e356 (patch)
tree9929154d74a7a7d0bb58f18eb078f54be46a6f97 /fs/btrfs/async-thread.c
parentbtrfs: add btrfs_delayed_ref_head declaration to extent-tree.h (diff)
downloadkernel-5335f4376cdc3b19e2b36bf31ad6664092f0e356.tar.gz
kernel-5335f4376cdc3b19e2b36bf31ad6664092f0e356.zip
btrfs: include trace header in where necessary
If we no longer include the tracepoints from ctree.h we fail to compile because we have the dependency in some of the header files and source files. Add the include where we have these dependencies to allow us to remove the include from ctree.h. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
-rw-r--r--fs/btrfs/async-thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index ce083e99ef68..714ca74b66bf 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -9,6 +9,7 @@
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/freezer.h>
+#include <trace/events/btrfs.h>
#include "async-thread.h"
#include "ctree.h"