xfs
[Top] [All Lists]

Re: [PATCH v3] xfs: indentation fix in xfs_btree_get_iroot()

To: Kaho Ng <ngkaho1234@xxxxxxxxx>
Subject: Re: [PATCH v3] xfs: indentation fix in xfs_btree_get_iroot()
From: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
Date: Wed, 22 Jun 2016 13:25:23 +0200
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160622191137.26d0725d@xxxxxxxxxxx>
Mail-followup-to: Kaho Ng <ngkaho1234@xxxxxxxxx>, xfs@xxxxxxxxxxx
References: <20160622191137.26d0725d@xxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
On Wed, Jun 22, 2016 at 07:11:37PM +0800, Kaho Ng wrote:
> The indentation in this function is different from the other functions.
> Those spacebars are converted to tabs to improve readability.
> 
> Signed-off-by: Kaho Ng <ngkaho1234@xxxxxxxxx>

Ah, much better.

Reviewed-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>

> ---
>  fs/xfs/libxfs/xfs_btree.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c
> index 1f88e1c..4f84dde 100644
> --- a/fs/xfs/libxfs/xfs_btree.c
> +++ b/fs/xfs/libxfs/xfs_btree.c
> @@ -543,12 +543,12 @@ xfs_btree_ptr_addr(
>   */
>  STATIC struct xfs_btree_block *
>  xfs_btree_get_iroot(
> -       struct xfs_btree_cur    *cur)
> +     struct xfs_btree_cur    *cur)
>  {
> -       struct xfs_ifork        *ifp;
> +     struct xfs_ifork        *ifp;
>  
> -       ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, 
> cur->bc_private.b.whichfork);
> -       return (struct xfs_btree_block *)ifp->if_broot;
> +     ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, cur->bc_private.b.whichfork);
> +     return (struct xfs_btree_block *)ifp->if_broot;
>  }
>  
>  /*
> -- 
> 2.9.0
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

-- 
Carlos

<Prev in Thread] Current Thread [Next in Thread>