diff options
author | Josef Bacik <josef@toxicpanda.com> | 2023-08-25 16:19:28 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:03 +0200 |
commit | 5335f4376cdc3b19e2b36bf31ad6664092f0e356 (patch) | |
tree | 9929154d74a7a7d0bb58f18eb078f54be46a6f97 /fs/btrfs/locking.c | |
parent | 82cc2ade2a9a911cb040d3e752154ef9a16ba6c6 (diff) | |
download | linux-5335f4376cdc3b19e2b36bf31ad6664092f0e356.tar.gz linux-5335f4376cdc3b19e2b36bf31ad6664092f0e356.tar.bz2 linux-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.c | 1 |
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" |