[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210318113233.473329-1-liu.xuzhi@zte.com.cn>
Date: Thu, 18 Mar 2021 04:32:32 -0700
From: menglong8.dong@...il.com
To: konishi.ryusuke@...il.com
Cc: linux-nilfs@...r.kernel.org, linux-kernel@...r.kernel.org,
Liu xuzhi <liu.xuzhi@....com.cn>
Subject: [PATCH] fs/nilfs2: fix misspellings using codespell tool
From: Liu xuzhi <liu.xuzhi@....com.cn>
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 <liu.xuzhi@....com.cn>
---
fs/nilfs2/segment.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c
index cd4da9535aed..686c8ee7b29c 100644
--- a/fs/nilfs2/segment.c
+++ b/fs/nilfs2/segment.c
@@ -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.
--
2.25.1
Powered by blists - more mailing lists