summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-01-25 17:44:47 +0100
committerDavid Sterba <dsterba@suse.com>2024-03-04 16:24:46 +0100
commit2b712e3bb2c46165a3d35096f37bea6aa47f45d4 (patch)
treed686755c2f322f63791794efcdfba6be0b65f09d /fs/btrfs/tree-log.c
parentdc52796151a7a7c6993c6d17441d75eee467c8a8 (diff)
downloadlinux-stable-2b712e3bb2c46165a3d35096f37bea6aa47f45d4.tar.gz
linux-stable-2b712e3bb2c46165a3d35096f37bea6aa47f45d4.tar.bz2
linux-stable-2b712e3bb2c46165a3d35096f37bea6aa47f45d4.zip
btrfs: remove unused included headers
With help of neovim, LSP and clangd we can identify header files that are not actually needed to be included in the .c files. This is focused only on removal (with minor fixups), further cleanups are possible but will require doing the header files properly with forward declarations, minimized includes and include-what-you-use care. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 331fc7429952..043b8df5665f 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -13,13 +13,11 @@
#include "tree-log.h"
#include "disk-io.h"
#include "locking.h"
-#include "print-tree.h"
#include "backref.h"
#include "compression.h"
#include "qgroup.h"
#include "block-group.h"
#include "space-info.h"
-#include "zoned.h"
#include "inode-item.h"
#include "fs.h"
#include "accessors.h"