mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
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 602035d7fe
("btrfs: add forward
declarations and headers, part 2").
Just remove such unnecessary include.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a56b795234
commit
3b8dbf3425
@ -19,7 +19,6 @@
|
||||
#include <uapi/linux/btrfs_tree.h>
|
||||
#include <trace/events/btrfs.h>
|
||||
#include "block-rsv.h"
|
||||
#include "btrfs_inode.h"
|
||||
#include "extent_map.h"
|
||||
#include "extent_io.h"
|
||||
#include "extent-io-tree.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <linux/list.h>
|
||||
#include <linux/refcount.h>
|
||||
#include "misc.h"
|
||||
#include "extent_map.h"
|
||||
#include "compression.h"
|
||||
|
||||
struct btrfs_inode;
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "extent-io-tree.h"
|
||||
#include "async-thread.h"
|
||||
#include "block-rsv.h"
|
||||
#include "fs.h"
|
||||
|
||||
struct inode;
|
||||
struct super_block;
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include <linux/lockdep.h>
|
||||
#include <linux/percpu_counter.h>
|
||||
#include "extent_io.h"
|
||||
#include "locking.h"
|
||||
|
||||
struct extent_buffer;
|
||||
struct btrfs_path;
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/maple_tree.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
|
||||
|
Loading…
Reference in New Issue
Block a user