Re: [PATCH -next] xfs: remove duplicated xfs_defer.h

From: Darrick J. Wong
Date: Thu Jan 31 2019 - 18:24:19 EST


On Thu, Jan 17, 2019 at 03:02:17PM +0800, YueHaibing wrote:
> Remove duplicated include.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Looks fine to me,
Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

--D

> ---
> fs/xfs/xfs_trans_bmap.c | 1 -
> fs/xfs/xfs_trans_extfree.c | 1 -
> fs/xfs/xfs_trans_refcount.c | 1 -
> fs/xfs/xfs_trans_rmap.c | 1 -
> 4 files changed, 4 deletions(-)
>
> diff --git a/fs/xfs/xfs_trans_bmap.c b/fs/xfs/xfs_trans_bmap.c
> index 11cff44..e1c7d55 100644
> --- a/fs/xfs/xfs_trans_bmap.c
> +++ b/fs/xfs/xfs_trans_bmap.c
> @@ -17,7 +17,6 @@
> #include "xfs_alloc.h"
> #include "xfs_bmap.h"
> #include "xfs_inode.h"
> -#include "xfs_defer.h"
>
> /*
> * This routine is called to allocate a "bmap update done"
> diff --git a/fs/xfs/xfs_trans_extfree.c b/fs/xfs/xfs_trans_extfree.c
> index 0710434..8ee7a3f 100644
> --- a/fs/xfs/xfs_trans_extfree.c
> +++ b/fs/xfs/xfs_trans_extfree.c
> @@ -18,7 +18,6 @@
> #include "xfs_alloc.h"
> #include "xfs_bmap.h"
> #include "xfs_trace.h"
> -#include "xfs_defer.h"
>
> /*
> * This routine is called to allocate an "extent free done"
> diff --git a/fs/xfs/xfs_trans_refcount.c b/fs/xfs/xfs_trans_refcount.c
> index 6c947ff..8d73472 100644
> --- a/fs/xfs/xfs_trans_refcount.c
> +++ b/fs/xfs/xfs_trans_refcount.c
> @@ -16,7 +16,6 @@
> #include "xfs_refcount_item.h"
> #include "xfs_alloc.h"
> #include "xfs_refcount.h"
> -#include "xfs_defer.h"
>
> /*
> * This routine is called to allocate a "refcount update done"
> diff --git a/fs/xfs/xfs_trans_rmap.c b/fs/xfs/xfs_trans_rmap.c
> index a428909..5c7936b 100644
> --- a/fs/xfs/xfs_trans_rmap.c
> +++ b/fs/xfs/xfs_trans_rmap.c
> @@ -16,7 +16,6 @@
> #include "xfs_rmap_item.h"
> #include "xfs_alloc.h"
> #include "xfs_rmap.h"
> -#include "xfs_defer.h"
>
> /* Set the map extent flags for this reverse mapping. */
> static void
> --
> 2.7.0
>
>