summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorKeoseong Park <keosung.park@samsung.com>2022-10-27 14:01:05 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2022-11-02 03:56:03 +0300
commita5029a57a2f3f2e2711f4ac2d876c3c83d1758fe (patch)
tree09a029b0ec32efd8333475f067ae0409edd79b78 /fs/f2fs
parentc46867e9b9b8e0cdd6a5212c2b5ae616583a3bfd (diff)
downloadlinux-a5029a57a2f3f2e2711f4ac2d876c3c83d1758fe.tar.xz
f2fs: Fix typo in comments
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>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index f96bbfa8b399..c605a4f2bce2 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);