[f2fs-dev] f2fs: Fix typo in comments

Message ID 20221027110105epcms2p10a8cc7e0e7c3b2960a8db4efaa574ae3@epcms2p1
State New
Headers
Series [f2fs-dev] f2fs: Fix typo in comments |

Commit Message

Keoseong Park Oct. 27, 2022, 11:01 a.m. UTC
  Change "truncateion" to "truncation".

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
---
 fs/f2fs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Chao Yu Oct. 29, 2022, 2:56 a.m. UTC | #1
On 2022/10/27 19:01, Keoseong Park wrote:
> Change "truncateion" to "truncation".
> 
> Signed-off-by: Keoseong Park <keosung.park@samsung.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,
  

Patch

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);