summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorRuiqi Gong <gongruiqi1@huawei.com>2021-03-31 05:39:20 -0400
committerGao Xiang <hsiangkao@redhat.com>2021-04-03 12:23:47 +0800
commitfe6adcce7e297fcb49f40c62df42334690c3f848 (patch)
tree7f6dafe52a0411d10dfc32d7cac126f378ab799a /fs
parent14373711dd54be8a84e2f4f624bc58787f80cfbd (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/erofs/zdata.c2
-rw-r--r--fs/erofs/zmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c
index cd9b76216925..4226f4115981 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 14d2de35110c..b384f546d368 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;