Skip to contentSkip to conversation

xfs/health: cleanup, remove duplicated including

PATCH In review Wang Jinchao 2 participants 2 messages Dec 15, 2023 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs/health: cleanup, remove duplicated including

remove the second ones:
\#include "xfs_trans_resv.h"
\#include "xfs_mount.h"

---
 fs/xfs/scrub/health.c | 2 --
 1 file changed, 2 deletions(-)
fs/xfs/scrub/health.c +0 -2
index 5e2b09ed6e29..289f1d4ea6ef 100644
@@ -10,8 +10,6 @@
 #include "xfs_trans_resv.h"
 #include "xfs_mount.h"
 #include "xfs_btree.h"
-#include "xfs_trans_resv.h"
-#include "xfs_mount.h"
 #include "xfs_ag.h"
 #include "xfs_health.h"
 #include "scrub/scrub.h"
Signature · 1 line
2.40.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Wang Jinchao

remove the second ones:
\#include "xfs_trans_resv.h"
\#include "xfs_mount.h"

--D

Quoted 21 lines
---
 fs/xfs/scrub/health.c | 2 --
 1 file changed, 2 deletions(-)
fs/xfs/scrub/health.c +0 -2
index 5e2b09ed6e29..289f1d4ea6ef 100644
@@ -10,8 +10,6 @@
 #include "xfs_trans_resv.h"
 #include "xfs_mount.h"
 #include "xfs_btree.h"
-#include "xfs_trans_resv.h"
-#include "xfs_mount.h"
 #include "xfs_ag.h"
 #include "xfs_health.h"
 #include "scrub/scrub.h"
Signature · 1 line
2.40.0