Re: [PATCH xfs] xfs: remove duplicate include in xfs_super.c

From: Darrick J. Wong
Date: Wed Oct 27 2021 - 16:53:31 EST


On Wed, Oct 27, 2021 at 08:16:52AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: ran jianping <ran.jianping@xxxxxxxxxx>
>
> 'xfs_btree.h ' included in 'fs/xfs/xfs_super.c'
> is duplicated.It is also included on the 40 line.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: ran jianping <ran.jianping@xxxxxxxxxx>

How is this different from the identical patch posted two days ago?

--D

> ---
> fs/xfs/xfs_super.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
> index f4c508428aad..e21459f9923a 100644
> --- a/fs/xfs/xfs_super.c
> +++ b/fs/xfs/xfs_super.c
> @@ -37,7 +37,6 @@
> #include "xfs_reflink.h"
> #include "xfs_pwork.h"
> #include "xfs_ag.h"
> -#include "xfs_btree.h"
> #include "xfs_defer.h"
>
> #include <linux/magic.h>
> --
> 2.25.1
>