Skip to contentSkip to conversation

xfs: remove duplicated include header

PATCH In review Julian Sun 1 participant 2 messages Jul 24, 2024 – Aug 1, 2024 XFS filesystem

lore
Share & tools
lore

Julian Sun

author
#0 lore raw

PATCH 1/2 xfs: remove duplicated include header

Using make includecheck, we can see the message

	./fs/xfs/libxfs/xfs_defer.c:
	xfs_trans_priv.h is included more than once.

So, remove one of them.

---
 fs/xfs/libxfs/xfs_defer.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/libxfs/xfs_defer.c +0 -1
index 40021849b42f..8a73458f5acf 100644
@@ -12,7 +12,6 @@
 #include "xfs_mount.h"
 #include "xfs_defer.h"
 #include "xfs_trans.h"
-#include "xfs_trans_priv.h"
 #include "xfs_buf_item.h"
 #include "xfs_inode.h"
 #include "xfs_inode_item.h"
Signature · 1 line
2.39.2
author
#1 lore raw

Kindly ping..

Quoted 26 lines · Julian Sun <[email protected]> 于2024年7月24日周三 10:40写道:

Using make includecheck, we can see the message
./fs/xfs/libxfs/xfs_defer.c:
xfs_trans_priv.h is included more than once.
So, remove one of them.

---
 fs/xfs/libxfs/xfs_defer.c | 1 -
 1 file changed, 1 deletion(-)
fs/xfs/libxfs/xfs_defer.c +0 -2
index 40021849b42f..8a73458f5acf 100644
@@ -12,7 +12,6 @@
 #include "xfs_mount.h"
 #include "xfs_defer.h"
 #include "xfs_trans.h"
-#include "xfs_trans_priv.h"
 #include "xfs_buf_item.h"
 #include "xfs_inode.h"
 #include "xfs_inode_item.h"
--

2.39.2

Signature · 1 line
Julian Sun <[email protected]>