Commit 3b8dbf34 authored by Qu Wenruo's avatar Qu Wenruo Committed by David Sterba

btrfs: cleanup recursive include of the same header

We have several headers that are including themselves, triggering clangd
warnings.
Such includes are caused by commit 602035d7 ("btrfs: add forward
declarations and headers, part 2").

Just remove such unnecessary include.
Reviewed-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent a56b7952
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <uapi/linux/btrfs_tree.h> #include <uapi/linux/btrfs_tree.h>
#include <trace/events/btrfs.h> #include <trace/events/btrfs.h>
#include "block-rsv.h" #include "block-rsv.h"
#include "btrfs_inode.h"
#include "extent_map.h" #include "extent_map.h"
#include "extent_io.h" #include "extent_io.h"
#include "extent-io-tree.h" #include "extent-io-tree.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/refcount.h> #include <linux/refcount.h>
#include "misc.h" #include "misc.h"
#include "extent_map.h"
#include "compression.h" #include "compression.h"
struct btrfs_inode; struct btrfs_inode;
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "extent-io-tree.h" #include "extent-io-tree.h"
#include "async-thread.h" #include "async-thread.h"
#include "block-rsv.h" #include "block-rsv.h"
#include "fs.h"
struct inode; struct inode;
struct super_block; struct super_block;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <linux/lockdep.h> #include <linux/lockdep.h>
#include <linux/percpu_counter.h> #include <linux/percpu_counter.h>
#include "extent_io.h" #include "extent_io.h"
#include "locking.h"
struct extent_buffer; struct extent_buffer;
struct btrfs_path; struct btrfs_path;
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/maple_tree.h> #include <linux/maple_tree.h>
#include <linux/list.h> #include <linux/list.h>
#include "lru_cache.h"
/* /*
* A cache entry. This is meant to be embedded in a structure of a user of * A cache entry. This is meant to be embedded in a structure of a user of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment