* [PATCH] xfs: Remove duplicated include in xfs_super
@ 2021-10-26 1:48 Wan Jiabing
2021-10-26 1:59 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-10-26 1:48 UTC (permalink / raw)
To: Darrick J. Wong, linux-xfs, linux-kernel; +Cc: kael_w, Wan Jiabing
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@vivo.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfs: Remove duplicated include in xfs_super
2021-10-26 1:48 [PATCH] xfs: Remove duplicated include in xfs_super Wan Jiabing
@ 2021-10-26 1:59 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2021-10-26 1:59 UTC (permalink / raw)
To: Wan Jiabing; +Cc: linux-xfs, linux-kernel, kael_w
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@vivo.com>
LGTM, thanks for the patch. :)
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
--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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-26 1:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-26 1:48 [PATCH] xfs: Remove duplicated include in xfs_super Wan Jiabing
2021-10-26 1:59 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox