[PATCH -next] bcachefs: Remove duplicated include in backpointers.c

Yang Li posted 1 patch 2 months, 3 weeks ago
fs/bcachefs/backpointers.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] bcachefs: Remove duplicated include in backpointers.c
Posted by Yang Li 2 months, 3 weeks ago
The header files bbpos.h is included twice in backpointers.c,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10783
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/bcachefs/backpointers.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/bcachefs/backpointers.c b/fs/bcachefs/backpointers.c
index 21fdcde7e522..974f3464cd14 100644
--- a/fs/bcachefs/backpointers.c
+++ b/fs/bcachefs/backpointers.c
@@ -3,7 +3,6 @@
 #include "bbpos.h"
 #include "alloc_background.h"
 #include "backpointers.h"
-#include "bbpos.h"
 #include "bkey_buf.h"
 #include "btree_cache.h"
 #include "btree_update.h"
-- 
2.32.0.3.g01195cf9f
Re: [PATCH -next] bcachefs: Remove duplicated include in backpointers.c
Posted by Kent Overstreet 2 months, 3 weeks ago
On Mon, Sep 09, 2024 at 08:58:02AM GMT, Yang Li wrote:
> The header files bbpos.h is included twice in backpointers.c,
> so one inclusion of each can be removed.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10783
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Applied