./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon
Reported-by: Abaci Robot <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3925
Signed-off-by: Yang Li <[email protected]>
---
fs/f2fs/checkpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index b1b39c17f2d8..b7ef8cd10b10 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
for (i = 0; i < NR_CURSEG_DATA_TYPE; i++) {
struct curseg_info *curseg = CURSEG_I(sbi, i + CURSEG_HOT_DATA);
- ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);;
+ ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);
ckpt->cur_data_blkoff[i] = cpu_to_le16(curseg->next_blkoff);
ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type;
}
--
2.20.1.7.g153144c
Thanks, but applied the fix in the original patch.
On 02/02, Yang Li wrote:
> ./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3925
> Signed-off-by: Yang Li <[email protected]>
> ---
> fs/f2fs/checkpoint.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
> index b1b39c17f2d8..b7ef8cd10b10 100644
> --- a/fs/f2fs/checkpoint.c
> +++ b/fs/f2fs/checkpoint.c
> @@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
> for (i = 0; i < NR_CURSEG_DATA_TYPE; i++) {
> struct curseg_info *curseg = CURSEG_I(sbi, i + CURSEG_HOT_DATA);
>
> - ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);;
> + ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);
> ckpt->cur_data_blkoff[i] = cpu_to_le16(curseg->next_blkoff);
> ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type;
> }
> --
> 2.20.1.7.g153144c