Re: [PATCH v2 2/2] xfs: Remove duplicate include

From: Darrick J. Wong
Date: Wed Mar 06 2024 - 10:38:18 EST


On Tue, Mar 05, 2024 at 10:40:09AM +0800, Jiapeng Chong wrote:
> ./fs/xfs/xfs_trace.c: xfs_bmap.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8385
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

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

--D

> ---
> Changes in v2:
> -Remove the second #include.
>
> fs/xfs/xfs_trace.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/xfs/xfs_trace.c b/fs/xfs/xfs_trace.c
> index 1a963382e5e9..3f253884fe5b 100644
> --- a/fs/xfs/xfs_trace.c
> +++ b/fs/xfs/xfs_trace.c
> @@ -38,7 +38,6 @@
> #include "xfs_iomap.h"
> #include "xfs_buf_mem.h"
> #include "xfs_btree_mem.h"
> -#include "xfs_bmap.h"
>
> /*
> * We include this last to have the helpers above available for the trace
> --
> 2.20.1.7.g153144c
>
>