2021-02-19 12:50:38

by jiahao

[permalink] [raw]
Subject: [PATCH] f2fs/checkpoint: fix a spacing coding style

Add a space before the plus.

Signed-off-by: jiahao <[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 897edb7..26dbefd 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -1456,7 +1456,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
orphan_blocks);

if (__remain_node_summaries(cpc->reason))
- ckpt->cp_pack_total_block_count = cpu_to_le32(F2FS_CP_PACKS+
+ ckpt->cp_pack_total_block_count = cpu_to_le32(F2FS_CP_PACKS +
cp_payload_blks + data_sum_blocks +
orphan_blocks + NR_CURSEG_NODE_TYPE);
else
--
2.7.4


2021-02-20 01:59:52

by Chao Yu

[permalink] [raw]
Subject: Re: [f2fs-dev] [PATCH] f2fs/checkpoint: fix a spacing coding style

On 2021/2/19 20:46, jiahao wrote:
> Add a space before the plus.
>
> Signed-off-by: jiahao <[email protected]>

Reviewed-by: Chao Yu <[email protected]>

Thanks,