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

Jiapeng Chong posted 1 patch 1 year, 5 months ago
fs/btrfs/zlib.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] btrfs: Remove duplicate btrfs_inode.h header
Posted by Jiapeng Chong 1 year, 5 months ago
./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(-)

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"
 
-- 
2.20.1.7.g153144c
Re: [PATCH -next] btrfs: Remove duplicate btrfs_inode.h header
Posted by David Sterba 1 year, 5 months ago
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.