2021-03-31 09:27:35

by GONG, Ruiqi

[permalink] [raw]
Subject: [PATCH -next] erofs: Clean up spelling mistakes found in fs/erofs

zmap.c: s/correspoinding/corresponding
zdata.c: s/endding/ending

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Ruiqi Gong <[email protected]>
---
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


2021-04-01 03:47:29

by Gao Xiang

[permalink] [raw]
Subject: Re: [PATCH -next] erofs: Clean up spelling mistakes found in fs/erofs

On Wed, Mar 31, 2021 at 05:39:20AM -0400, Ruiqi Gong wrote:
> zmap.c: s/correspoinding/corresponding
> zdata.c: s/endding/ending
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Ruiqi Gong <[email protected]>

Reviewed-by: Gao Xiang <[email protected]>

Thanks,
Gao Xiang