]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: Remove header files which are included more than once
authorWenchao Hao <haowenchao22@gmail.com>
Wed, 2 Oct 2024 01:08:37 +0000 (18:08 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit06b712627e0c98b30be62fb5aea0199b3d0a5f0b
tree1a40792c7d5bc1a4202b0b6dfac6fc4fda4c0296
parent6540c8ae34851d447f63e9db29b48ddc25507965
xfs: Remove header files which are included more than once

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