public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] bcachefs: Remove duplicated include in backpointers.c
@ 2024-09-09  0:58 Yang Li
  2024-09-09 14:21 ` Kent Overstreet
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-09-09  0:58 UTC (permalink / raw)
  To: kent.overstreet; +Cc: linux-bcachefs, linux-kernel, Yang Li, Abaci Robot

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] bcachefs: Remove duplicated include in backpointers.c
  2024-09-09  0:58 [PATCH -next] bcachefs: Remove duplicated include in backpointers.c Yang Li
@ 2024-09-09 14:21 ` Kent Overstreet
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2024-09-09 14:21 UTC (permalink / raw)
  To: Yang Li; +Cc: linux-bcachefs, linux-kernel, Abaci Robot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-09 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  0:58 [PATCH -next] bcachefs: Remove duplicated include in backpointers.c Yang Li
2024-09-09 14:21 ` Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox