diff mbox series

[-next] btrfs: Remove duplicate btrfs_inode.h header

Message ID 20240710053420.23713-1-jiapeng.chong@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] btrfs: Remove duplicate btrfs_inode.h header | expand

Commit Message

Jiapeng Chong July 10, 2024, 5:34 a.m. UTC
./fs/btrfs/zlib.c: btrfs_inode.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9492
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 fs/btrfs/zlib.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Sterba July 11, 2024, 2:03 p.m. UTC | #1
On Wed, Jul 10, 2024 at 01:34:20PM +0800, Jiapeng Chong wrote:
> ./fs/btrfs/zlib.c: btrfs_inode.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9492
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Thanks, it's from an unmerged development patch so I removed the include
from there.
diff mbox series

Patch

diff --git a/fs/btrfs/zlib.c b/fs/btrfs/zlib.c
index decbadc6657d..8aa82ee1991e 100644
--- a/fs/btrfs/zlib.c
+++ b/fs/btrfs/zlib.c
@@ -20,7 +20,6 @@ 
 #include <linux/refcount.h>
 #include "btrfs_inode.h"
 #include "compression.h"
-#include "btrfs_inode.h"
 #include "fs.h"
 #include "subpage.h"