* [PATCH -next] xfs: remove duplicated include
@ 2019-06-27 7:33 YueHaibing
2019-06-27 15:26 ` Darrick J. Wong
0 siblings, 1 reply; 3+ messages in thread
From: YueHaibing @ 2019-06-27 7:33 UTC (permalink / raw)
To: darrick.wong, hch, dchinner; +Cc: linux-kernel, linux-xfs, YueHaibing
Remove duplicated include.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
fs/xfs/xfs_extfree_item.c | 1 -
fs/xfs/xfs_filestream.c | 1 -
fs/xfs/xfs_pnfs.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c
index 99fd40eb..e515506 100644
--- a/fs/xfs/xfs_extfree_item.c
+++ b/fs/xfs/xfs_extfree_item.c
@@ -13,7 +13,6 @@
#include "xfs_mount.h"
#include "xfs_defer.h"
#include "xfs_trans.h"
-#include "xfs_trans.h"
#include "xfs_trans_priv.h"
#include "xfs_buf_item.h"
#include "xfs_extfree_item.h"
diff --git a/fs/xfs/xfs_filestream.c b/fs/xfs/xfs_filestream.c
index b1869ae..a6d228c 100644
--- a/fs/xfs/xfs_filestream.c
+++ b/fs/xfs/xfs_filestream.c
@@ -21,7 +21,6 @@
#include "xfs_trace.h"
#include "xfs_ag_resv.h"
#include "xfs_trans.h"
-#include "xfs_shared.h"
struct xfs_fstrm_item {
struct xfs_mru_cache_elem mru;
diff --git a/fs/xfs/xfs_pnfs.c b/fs/xfs/xfs_pnfs.c
index 2d95355..6018e1c 100644
--- a/fs/xfs/xfs_pnfs.c
+++ b/fs/xfs/xfs_pnfs.c
@@ -17,7 +17,6 @@
#include "xfs_bmap_util.h"
#include "xfs_error.h"
#include "xfs_iomap.h"
-#include "xfs_shared.h"
#include "xfs_bit.h"
#include "xfs_pnfs.h"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH -next] xfs: remove duplicated include
2019-06-27 7:33 [PATCH -next] xfs: remove duplicated include YueHaibing
@ 2019-06-27 15:26 ` Darrick J. Wong
0 siblings, 0 replies; 3+ messages in thread
From: Darrick J. Wong @ 2019-06-27 15:26 UTC (permalink / raw)
To: YueHaibing; +Cc: hch, dchinner, linux-kernel, linux-xfs
On Thu, Jun 27, 2019 at 03:33:23PM +0800, YueHaibing wrote:
> Remove duplicated include.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
NAK, Eric Sandeen already sent this to the list.
--D
> ---
> fs/xfs/xfs_extfree_item.c | 1 -
> fs/xfs/xfs_filestream.c | 1 -
> fs/xfs/xfs_pnfs.c | 1 -
> 3 files changed, 3 deletions(-)
>
> diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c
> index 99fd40eb..e515506 100644
> --- a/fs/xfs/xfs_extfree_item.c
> +++ b/fs/xfs/xfs_extfree_item.c
> @@ -13,7 +13,6 @@
> #include "xfs_mount.h"
> #include "xfs_defer.h"
> #include "xfs_trans.h"
> -#include "xfs_trans.h"
> #include "xfs_trans_priv.h"
> #include "xfs_buf_item.h"
> #include "xfs_extfree_item.h"
> diff --git a/fs/xfs/xfs_filestream.c b/fs/xfs/xfs_filestream.c
> index b1869ae..a6d228c 100644
> --- a/fs/xfs/xfs_filestream.c
> +++ b/fs/xfs/xfs_filestream.c
> @@ -21,7 +21,6 @@
> #include "xfs_trace.h"
> #include "xfs_ag_resv.h"
> #include "xfs_trans.h"
> -#include "xfs_shared.h"
>
> struct xfs_fstrm_item {
> struct xfs_mru_cache_elem mru;
> diff --git a/fs/xfs/xfs_pnfs.c b/fs/xfs/xfs_pnfs.c
> index 2d95355..6018e1c 100644
> --- a/fs/xfs/xfs_pnfs.c
> +++ b/fs/xfs/xfs_pnfs.c
> @@ -17,7 +17,6 @@
> #include "xfs_bmap_util.h"
> #include "xfs_error.h"
> #include "xfs_iomap.h"
> -#include "xfs_shared.h"
> #include "xfs_bit.h"
> #include "xfs_pnfs.h"
>
> --
> 2.7.4
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH -next] xfs: Remove duplicated include
@ 2023-08-10 12:03 GUO Zihua
0 siblings, 0 replies; 3+ messages in thread
From: GUO Zihua @ 2023-08-10 12:03 UTC (permalink / raw)
To: djwong; +Cc: linux-xfs
Remove duplicated includes of xfs_mount.h and xfs_trans_resv.h. Resolves
checkincludes message.
Signed-off-by: GUO Zihua <guozihua@huawei.com>
---
fs/xfs/scrub/health.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/xfs/scrub/health.c b/fs/xfs/scrub/health.c
index d2b2a1cb6533..d6109a20feef 100644
--- a/fs/xfs/scrub/health.c
+++ b/fs/xfs/scrub/health.c
@@ -10,8 +10,6 @@
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_btree.h"
-#include "xfs_trans_resv.h"
-#include "xfs_mount.h"
#include "xfs_ag.h"
#include "xfs_health.h"
#include "scrub/scrub.h"
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-10 12:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27 7:33 [PATCH -next] xfs: remove duplicated include YueHaibing
2019-06-27 15:26 ` Darrick J. Wong
-- strict thread matches above, loose matches on Subject: below --
2023-08-10 12:03 [PATCH -next] xfs: Remove " GUO Zihua
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox