summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/locking.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-08-25 16:19:28 -0400
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:03 +0200
commit5335f4376cdc3b19e2b36bf31ad6664092f0e356 (patch)
tree9929154d74a7a7d0bb58f18eb078f54be46a6f97 /fs/btrfs/locking.c
parent82cc2ade2a9a911cb040d3e752154ef9a16ba6c6 (diff)
downloadlinux-stable-5335f4376cdc3b19e2b36bf31ad6664092f0e356.tar.gz
linux-stable-5335f4376cdc3b19e2b36bf31ad6664092f0e356.tar.bz2
linux-stable-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 <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.c')
-rw-r--r--fs/btrfs/locking.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c
index 7979449a58d6..79a125c0f4a2 100644
--- a/fs/btrfs/locking.c
+++ b/fs/btrfs/locking.c
@@ -8,6 +8,7 @@
#include <linux/spinlock.h>
#include <linux/page-flags.h>
#include <asm/bug.h>
+#include <trace/events/btrfs.h>
#include "misc.h"
#include "ctree.h"
#include "extent_io.h"