]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: Remove header files which are included more than once
authorWenchao Hao <haowenchao22@gmail.com>
Tue, 16 Jul 2024 21:54:14 +0000 (14:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:13:11 +0000 (17:13 -0700)
Source kernel commit: a330cae8a7147890262b06e1aa13db048e3b130f

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 <haowenchao22@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
libxfs/xfs_trans_resv.c

index dc405a943c7bb8f1ff44053fe4f25b91930d3e07..a2cb4d63e34e3b26d842a999adf59c0fb203b90f 100644 (file)
@@ -19,7 +19,6 @@
 #include "xfs_trans_space.h"
 #include "xfs_quota_defs.h"
 #include "xfs_rtbitmap.h"
-#include "xfs_da_format.h"
 
 #define _ALLOC true
 #define _FREE  false