diff mbox series

[v1] xfs: scrub: convert comma to semicolon

Message ID 20240910122842.3269966-1-yanzhen@vivo.com (mailing list archive)
State New
Headers show
Series [v1] xfs: scrub: convert comma to semicolon | expand

Commit Message

Yan Zhen Sept. 10, 2024, 12:28 p.m. UTC
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(-)

Comments

Darrick J. Wong Sept. 16, 2024, 5 p.m. UTC | #1
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
> 
>
diff mbox series

Patch

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;