fs/nilfs2: fix misspellings using codespell tool
Ryusuke Konishi
maintainerPATCH 1/1 fs/nilfs2: fix misspellings using codespell tool
From: Liu xuzhi <[email protected]>
Two typos are found out by codespell tool \
in 2217th and 2254th lines of segment.c:
$ codespell ./fs/nilfs2/ ./segment.c:2217 :retured ==> returned ./segment.c:2254: retured ==> returned
Fix two typos found by codespell.
Signed-off-by Liu xuzhi <[email protected]>
Signed-off-by Ryusuke Konishi <[email protected]>
--- fs/nilfs2/segment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/segment.c +2 -2
@@ -2214,7 +2214,7 @@ static void nilfs_segctor_wakeup(struct nilfs_sc_info *sci, int err)* nilfs_construct_segment - construct a logical segment * @sb: super block * -* Return Value: On success, 0 is retured. On errors, one of the following +* Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem.
@@ -2251,7 +2251,7 @@ int nilfs_construct_segment(struct super_block *sb)* @start: start byte offset * @end: end byte offset (inclusive) * -* Return Value: On success, 0 is retured. On errors, one of the following +* Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem.
Signature · 1 line
1.8.3.1
Ryusuke Konishi
maintainerHi Andrew,
Please queue this typo fix for the next merge window.
Thank you,
Ryusuke Konishi
Quoted 43 lines · Ryusuke Konishi
From: Liu xuzhi <[email protected]>
Two typos are found out by codespell tool \
in 2217th and 2254th lines ofsegment.c:$ codespell ./fs/nilfs2/ ./segment.c:2217 :retured ==> returned ./segment.c:2254: retured ==> returnedFix two typos found by codespell.
Signed-off-by Liu xuzhi <[email protected]>Signed-off-by Ryusuke Konishi <[email protected]>--- fs/nilfs2/segment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/nilfs2/segment.c +2
-3@@ -2214,7 +2214,7 @@ static void nilfs_segctor_wakeup(struct nilfs_sc_info *sci, int err)* nilfs_construct_segment - construct a logical segment * @sb: super block * -* Return Value: On success, 0 is retured. On errors, one of the following +* Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem. @@ -2251,7 +2251,7 @@ int nilfs_construct_segment(struct super_block *sb)* @start: start byte offset * @end: end byte offset (inclusive) * -* Return Value: On success, 0 is retured. On errors, one of the following +* Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem. -- 1.8.3.1