Skip to contentSkip to conversation

xfs: Remove duplicated include in xfs_super

PATCH In review Wan Jiabing 2 participants 2 messages Oct 26, 2021 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: Remove duplicated include in xfs_super

Fix following checkincludes.pl warning:
./fs/xfs/xfs_super.c: xfs_btree.h is included more than once.

The include is in line 15. Remove the duplicated here.

---
 fs/xfs/xfs_super.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/xfs_super.c +0 -1
index f4c508428aad..e21459f9923a 100644
@@ -37,7 +37,6 @@
 #include "xfs_reflink.h"
 #include "xfs_pwork.h"
 #include "xfs_ag.h"
-#include "xfs_btree.h"
 #include "xfs_defer.h"
 
 #include <linux/magic.h>
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Wan Jiabing

Fix following checkincludes.pl warning:
./fs/xfs/xfs_super.c: xfs_btree.h is included more than once.

The include is in line 15. Remove the duplicated here.

LGTM, thanks for the patch. :)

--D

Quoted 19 lines
---
 fs/xfs/xfs_super.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/xfs_super.c +0 -1
index f4c508428aad..e21459f9923a 100644
@@ -37,7 +37,6 @@
 #include "xfs_reflink.h"
 #include "xfs_pwork.h"
 #include "xfs_ag.h"
-#include "xfs_btree.h"
 #include "xfs_defer.h"
 
 #include <linux/magic.h>
Signature · 1 line
2.20.1