Skip to contentSkip to conversation

xfs: Remove duplicate include

PATCH In review Jiapeng Chong 2 participants 4 messages Mar 5, 2024 – Mar 6, 2024 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 xfs: Remove duplicate include

./fs/xfs/xfs_qm_bhv.c: xfs_mount.h is included more than once.

---
 fs/xfs/xfs_qm_bhv.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/xfs_qm_bhv.c +0 -1
index 271c1021c733..a11436579877 100644
@@ -11,7 +11,6 @@
 #include "xfs_trans_resv.h"
 #include "xfs_mount.h"
 #include "xfs_quota.h"
-#include "xfs_mount.h"
 #include "xfs_inode.h"
 #include "xfs_trans.h"
 #include "xfs_qm.h"
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

PATCH v2 2/2 xfs: Remove duplicate include

./fs/xfs/xfs_trace.c: xfs_bmap.h is included more than once.

---
Changes in v2:
-Remove the second #include.

 fs/xfs/xfs_trace.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/xfs_trace.c +0 -1
index 1a963382e5e9..3f253884fe5b 100644
@@ -38,7 +38,6 @@
 #include "xfs_iomap.h"
 #include "xfs_buf_mem.h"
 #include "xfs_btree_mem.h"
-#include "xfs_bmap.h"
 
 /*
  * We include this last to have the helpers above available for the trace
Signature · 1 line
2.20.1.7.g153144c
Reviewed-by on v2 2/2
#2 lore raw
Quoted 5 lines · Jiapeng Chong

./fs/xfs/xfs_trace.c: xfs_bmap.h is included more than once.

--D

Quoted 23 lines

---
Changes in v2:
-Remove the second #include.

 fs/xfs/xfs_trace.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/xfs_trace.c +0 -1
index 1a963382e5e9..3f253884fe5b 100644
@@ -38,7 +38,6 @@
 #include "xfs_iomap.h"
 #include "xfs_buf_mem.h"
 #include "xfs_btree_mem.h"
-#include "xfs_bmap.h"
 
 /*
  * We include this last to have the helpers above available for the trace
Signature · 1 line
2.20.1.7.g153144c
Reviewed-by on v2 1/2
#3 lore raw
In reply to Jiapeng Chong
Quoted 5 lines · Jiapeng Chong

./fs/xfs/xfs_qm_bhv.c: xfs_mount.h is included more than once.

--D

Quoted 20 lines
---
 fs/xfs/xfs_qm_bhv.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/xfs_qm_bhv.c +0 -1
index 271c1021c733..a11436579877 100644
@@ -11,7 +11,6 @@
 #include "xfs_trans_resv.h"
 #include "xfs_mount.h"
 #include "xfs_quota.h"
-#include "xfs_mount.h"
 #include "xfs_inode.h"
 #include "xfs_trans.h"
 #include "xfs_qm.h"
Signature · 1 line
2.20.1.7.g153144c