Re: [PATCH -next] xfs: remove duplicated include

From: Darrick J. Wong
Date: Thu Jun 27 2019 - 11:27:25 EST


On Thu, Jun 27, 2019 at 03:33:23PM +0800, YueHaibing wrote:
> Remove duplicated include.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

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
>
>