Skip to content

Commit a330cae

Browse files
haowenchaoChandan Babu R
authored andcommitted
xfs: Remove header files which are included more than once
Following warning is reported, so remove these duplicated header including: ./fs/xfs/libxfs/xfs_trans_resv.c: xfs_da_format.h is included more than once. ./fs/xfs/scrub/quota_repair.c: xfs_format.h is included more than once. ./fs/xfs/xfs_handle.c: xfs_da_btree.h is included more than once. ./fs/xfs/xfs_qm_bhv.c: xfs_mount.h is included more than once. ./fs/xfs/xfs_trace.c: xfs_bmap.h is included more than once. This is just a clean code, no logic changed. Signed-off-by: Wenchao Hao <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Chandan Babu R <[email protected]>
1 parent 4818fd6 commit a330cae

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

fs/xfs/libxfs/xfs_trans_resv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "xfs_rtbitmap.h"
2323
#include "xfs_attr_item.h"
2424
#include "xfs_log.h"
25-
#include "xfs_da_format.h"
2625

2726
#define _ALLOC true
2827
#define _FREE false

fs/xfs/scrub/quota_repair.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include "xfs_defer.h"
1313
#include "xfs_btree.h"
1414
#include "xfs_bit.h"
15-
#include "xfs_format.h"
1615
#include "xfs_log_format.h"
1716
#include "xfs_trans.h"
1817
#include "xfs_sb.h"

fs/xfs/xfs_handle.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "xfs_attr.h"
2222
#include "xfs_ioctl.h"
2323
#include "xfs_parent.h"
24-
#include "xfs_da_btree.h"
2524
#include "xfs_handle.h"
2625
#include "xfs_health.h"
2726
#include "xfs_icache.h"

fs/xfs/xfs_qm_bhv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "xfs_trans_resv.h"
1212
#include "xfs_mount.h"
1313
#include "xfs_quota.h"
14-
#include "xfs_mount.h"
1514
#include "xfs_inode.h"
1615
#include "xfs_trans.h"
1716
#include "xfs_qm.h"

fs/xfs/xfs_trace.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include "xfs_iomap.h"
3939
#include "xfs_buf_mem.h"
4040
#include "xfs_btree_mem.h"
41-
#include "xfs_bmap.h"
4241
#include "xfs_exchmaps.h"
4342
#include "xfs_exchrange.h"
4443
#include "xfs_parent.h"

0 commit comments

Comments
 (0)