erofs: Clean up spelling mistakes found in fs/erofs
zmap.c: s/correspoinding/corresponding
zdata.c: s/endding/ending
Link: https://lore.kernel.org/r/20210331093920.31923-1-gongruiqi1@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ruiqi Gong <gongruiqi1@huawei.com>
Reviewed-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c
index cd9b762..4226f41 100644
--- a/fs/erofs/zdata.c
+++ b/fs/erofs/zdata.c
@@ -933,7 +933,7 @@ static int z_erofs_decompress_pcluster(struct super_block *sb,
}, pagepool);
out:
- /* must handle all compressed pages before endding pages */
+ /* must handle all compressed pages before ending pages */
for (i = 0; i < clusterpages; ++i) {
page = compressed_pages[i];
diff --git a/fs/erofs/zmap.c b/fs/erofs/zmap.c
index 14d2de35..b384f54 100644
--- a/fs/erofs/zmap.c
+++ b/fs/erofs/zmap.c
@@ -443,7 +443,7 @@ int z_erofs_map_blocks_iter(struct inode *inode,
m.delta[0] = 1;
fallthrough;
case Z_EROFS_VLE_CLUSTER_TYPE_NONHEAD:
- /* get the correspoinding first chunk */
+ /* get the corresponding first chunk */
err = z_erofs_extent_lookback(&m, m.delta[0]);
if (err)
goto unmap_out;