[PATCH v1] xfs: scrub: convert comma to semicolon

Yan Zhen posted 1 patch 2 months, 2 weeks ago
fs/xfs/scrub/ialloc_repair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH v1] xfs: scrub: convert comma to semicolon
Posted by Yan Zhen 2 months, 2 weeks ago
Replace a comma between expression statements by a semicolon.

Signed-off-by: Yan Zhen <yanzhen@vivo.com>
---
 fs/xfs/scrub/ialloc_repair.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/xfs/scrub/ialloc_repair.c b/fs/xfs/scrub/ialloc_repair.c
index a00ec7ae1..c8d2196a0 100644
--- a/fs/xfs/scrub/ialloc_repair.c
+++ b/fs/xfs/scrub/ialloc_repair.c
@@ -657,7 +657,7 @@ xrep_ibt_build_new_trees(
 	 * Start by setting up the inobt staging cursor.
 	 */
 	fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.pag->pag_agno,
-			XFS_IBT_BLOCK(sc->mp)),
+			XFS_IBT_BLOCK(sc->mp));
 	xrep_newbt_init_ag(&ri->new_inobt, sc, &XFS_RMAP_OINFO_INOBT, fsbno,
 			XFS_AG_RESV_NONE);
 	ri->new_inobt.bload.claim_block = xrep_ibt_claim_block;
@@ -678,7 +678,7 @@ xrep_ibt_build_new_trees(
 			resv = XFS_AG_RESV_NONE;
 
 		fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.pag->pag_agno,
-				XFS_FIBT_BLOCK(sc->mp)),
+				XFS_FIBT_BLOCK(sc->mp));
 		xrep_newbt_init_ag(&ri->new_finobt, sc, &XFS_RMAP_OINFO_INOBT,
 				fsbno, resv);
 		ri->new_finobt.bload.claim_block = xrep_fibt_claim_block;
-- 
2.34.1
Re: [PATCH v1] xfs: scrub: convert comma to semicolon
Posted by Carlos Maiolino 2 months ago
On Tue, 10 Sep 2024 20:28:42 +0800, Yan Zhen wrote:
> Replace a comma between expression statements by a semicolon.
> 
> 

Applied to xfs-6.12-rc2, thanks!

[1/1] xfs: scrub: convert comma to semicolon
      commit: 4956580c2d9ae8c81cdbe9ce19f5c8d14d56dac6

Best regards,
-- 
Carlos Maiolino <cem@kernel.org>
Re: [PATCH v1] xfs: scrub: convert comma to semicolon
Posted by Darrick J. Wong 2 months, 2 weeks ago
On Tue, Sep 10, 2024 at 08:28:42PM +0800, Yan Zhen wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Signed-off-by: Yan Zhen <yanzhen@vivo.com>

Looks good,
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  fs/xfs/scrub/ialloc_repair.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/xfs/scrub/ialloc_repair.c b/fs/xfs/scrub/ialloc_repair.c
> index a00ec7ae1..c8d2196a0 100644
> --- a/fs/xfs/scrub/ialloc_repair.c
> +++ b/fs/xfs/scrub/ialloc_repair.c
> @@ -657,7 +657,7 @@ xrep_ibt_build_new_trees(
>  	 * Start by setting up the inobt staging cursor.
>  	 */
>  	fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.pag->pag_agno,
> -			XFS_IBT_BLOCK(sc->mp)),
> +			XFS_IBT_BLOCK(sc->mp));
>  	xrep_newbt_init_ag(&ri->new_inobt, sc, &XFS_RMAP_OINFO_INOBT, fsbno,
>  			XFS_AG_RESV_NONE);
>  	ri->new_inobt.bload.claim_block = xrep_ibt_claim_block;
> @@ -678,7 +678,7 @@ xrep_ibt_build_new_trees(
>  			resv = XFS_AG_RESV_NONE;
>  
>  		fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.pag->pag_agno,
> -				XFS_FIBT_BLOCK(sc->mp)),
> +				XFS_FIBT_BLOCK(sc->mp));
>  		xrep_newbt_init_ag(&ri->new_finobt, sc, &XFS_RMAP_OINFO_INOBT,
>  				fsbno, resv);
>  		ri->new_finobt.bload.claim_block = xrep_fibt_claim_block;
> -- 
> 2.34.1
> 
>