[PATCH] xfs: convert comma to semicolon

Chen Ni posted 1 patch 1 year, 5 months ago
There is a newer version of this series
fs/xfs/scrub/agheader_repair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xfs: convert comma to semicolon
Posted by Chen Ni 1 year, 5 months ago
Replace a comma between expression statements by a semicolon.

Fixes: 178b48d588ea ("xfs: remove the for_each_xbitmap_ helpers")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 fs/xfs/scrub/agheader_repair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/scrub/agheader_repair.c b/fs/xfs/scrub/agheader_repair.c
index 0dbc484b182f..2f98d90d7fd6 100644
--- a/fs/xfs/scrub/agheader_repair.c
+++ b/fs/xfs/scrub/agheader_repair.c
@@ -696,7 +696,7 @@ xrep_agfl_init_header(
 	 * step.
 	 */
 	xagb_bitmap_init(&af.used_extents);
-	af.agfl_bno = xfs_buf_to_agfl_bno(agfl_bp),
+	af.agfl_bno = xfs_buf_to_agfl_bno(agfl_bp);
 	xagb_bitmap_walk(agfl_extents, xrep_agfl_fill, &af);
 	error = xagb_bitmap_disunion(agfl_extents, &af.used_extents);
 	if (error)
-- 
2.25.1
Re: [PATCH] xfs: convert comma to semicolon
Posted by Darrick J. Wong 1 year, 5 months ago
On Tue, Jul 16, 2024 at 04:01:12PM +0800, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Fixes: 178b48d588ea ("xfs: remove the for_each_xbitmap_ helpers")
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

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

--D

> ---
>  fs/xfs/scrub/agheader_repair.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/xfs/scrub/agheader_repair.c b/fs/xfs/scrub/agheader_repair.c
> index 0dbc484b182f..2f98d90d7fd6 100644
> --- a/fs/xfs/scrub/agheader_repair.c
> +++ b/fs/xfs/scrub/agheader_repair.c
> @@ -696,7 +696,7 @@ xrep_agfl_init_header(
>  	 * step.
>  	 */
>  	xagb_bitmap_init(&af.used_extents);
> -	af.agfl_bno = xfs_buf_to_agfl_bno(agfl_bp),
> +	af.agfl_bno = xfs_buf_to_agfl_bno(agfl_bp);
>  	xagb_bitmap_walk(agfl_extents, xrep_agfl_fill, &af);
>  	error = xagb_bitmap_disunion(agfl_extents, &af.used_extents);
>  	if (error)
> -- 
> 2.25.1
> 
>