Re: [PATCH] xfs: Remove duplicate include

From: Darrick J. Wong
Date: Thu Aug 24 2023 - 12:13:56 EST


On Thu, Aug 24, 2023 at 03:47:23PM +0800, Jiapeng Chong wrote:
> ./fs/xfs/scrub/xfile.c: xfs_format.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6209
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> ---
> fs/xfs/scrub/xfile.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/xfs/scrub/xfile.c b/fs/xfs/scrub/xfile.c
> index d98e8e77c684..090c3ead43fd 100644
> --- a/fs/xfs/scrub/xfile.c
> +++ b/fs/xfs/scrub/xfile.c
> @@ -10,7 +10,6 @@
> #include "xfs_log_format.h"
> #include "xfs_trans_resv.h"
> #include "xfs_mount.h"
> -#include "xfs_format.h"
> #include "scrub/xfile.h"
> #include "scrub/xfarray.h"
> #include "scrub/scrub.h"
> --
> 2.20.1.7.g153144c
>