2022-10-27 05:59:33

by Yang Li

[permalink] [raw]
Subject: [PATCH -next 1/3] btrfs: Remove duplicated include in root-tree.c

./fs/btrfs/root-tree.c: fs.h is included more than once.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2600
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
fs/btrfs/root-tree.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c
index 09175ffc143a..42f046e5e25f 100644
--- a/fs/btrfs/root-tree.c
+++ b/fs/btrfs/root-tree.c
@@ -13,7 +13,6 @@
#include "print-tree.h"
#include "qgroup.h"
#include "space-info.h"
-#include "fs.h"
#include "accessors.h"
#include "root-tree.h"

--
2.20.1.7.g153144c



2022-10-27 05:59:35

by Yang Li

[permalink] [raw]
Subject: [PATCH -next 3/3] btrfs: Remove duplicated include in delayed-inode.c

./fs/btrfs/delayed-inode.c: fs.h is included more than once.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2602
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
fs/btrfs/delayed-inode.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c
index a935709f2a29..f93d2695e423 100644
--- a/fs/btrfs/delayed-inode.c
+++ b/fs/btrfs/delayed-inode.c
@@ -17,7 +17,6 @@
#include "locking.h"
#include "inode-item.h"
#include "space-info.h"
-#include "fs.h"
#include "accessors.h"

#define BTRFS_DELAYED_WRITEBACK 512
--
2.20.1.7.g153144c


2022-10-27 06:03:42

by Yang Li

[permalink] [raw]
Subject: [PATCH -next 2/3] btrfs: Remove duplicated include in free-space-cache.c

./fs/btrfs/free-space-cache.c: fs.h is included more than once.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2601
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
fs/btrfs/free-space-cache.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 7a182cc6dab7..26ff1a5100b9 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -26,7 +26,6 @@
#include "discard.h"
#include "subpage.h"
#include "inode-item.h"
-#include "fs.h"
#include "accessors.h"

#define BITS_PER_BITMAP (PAGE_SIZE * 8UL)
--
2.20.1.7.g153144c


2022-10-27 06:56:39

by Johannes Thumshirn

[permalink] [raw]

2022-10-27 12:08:57

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH -next 1/3] btrfs: Remove duplicated include in root-tree.c

On Thu, Oct 27, 2022 at 01:43:41PM +0800, Yang Li wrote:
> ./fs/btrfs/root-tree.c: fs.h is included more than once.

Thanks, it's from a recent series so I've folded the changes from all
three patches.