[PATCH -next] erofs: Clean up spelling mistakes found in fs/erofs
From: Ruiqi Gong
Date: Wed Mar 31 2021 - 05:26:21 EST
zmap.c: s/correspoinding/corresponding
zdata.c: s/endding/ending
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Ruiqi Gong <gongruiqi1@xxxxxxxxxx>
---
fs/erofs/zdata.c | 2 +-
fs/erofs/zmap.c | 2 +-
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;
--
2.17.1