f2fs: Fix typo in comments
authorKeoseong Park <keosung.park@samsung.com>
Thu, 27 Oct 2022 11:01:05 +0000 (20:01 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Nov 2022 00:56:03 +0000 (17:56 -0700)
Change "truncateion" to "truncation".

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c

index f96bbfa..c605a4f 100644 (file)
@@ -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);