2022-10-27 11:12:10

by Keoseong Park

[permalink] [raw]
Subject: [f2fs-dev] [PATCH] f2fs: Fix typo in comments

Change "truncateion" to "truncation".

Signed-off-by: Keoseong Park <[email protected]>
---
fs/f2fs/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 8cd52b0965b1..aafdf5fbb825 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -571,7 +571,7 @@ void f2fs_truncate_data_blocks_range(struct dnode_of_data *dn, int count)
raw_node = F2FS_NODE(dn->node_page);
addr = blkaddr_in_node(raw_node) + base + ofs;

- /* Assumption: truncateion starts with cluster */
+ /* Assumption: truncation starts with cluster */
for (; count > 0; count--, addr++, dn->ofs_in_node++, cluster_index++) {
block_t blkaddr = le32_to_cpu(*addr);

--
2.17.1



2022-10-29 03:32:43

by Chao Yu

[permalink] [raw]
Subject: Re: [f2fs-dev] [PATCH] f2fs: Fix typo in comments

On 2022/10/27 19:01, Keoseong Park wrote:
> Change "truncateion" to "truncation".
>
> Signed-off-by: Keoseong Park <[email protected]>

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

Thanks,