Re: [PATCH] xfs: Remove duplicated include in xfs_super
From: Darrick J. Wong
Date: Mon Oct 25 2021 - 21:59:20 EST
On Mon, Oct 25, 2021 at 09:48:07PM -0400, Wan Jiabing wrote:
> Fix following checkincludes.pl warning:
> ./fs/xfs/xfs_super.c: xfs_btree.h is included more than once.
>
> The include is in line 15. Remove the duplicated here.
>
> Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
LGTM, thanks for the patch. :)
Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>
--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.20.1
>