* [PATCH v1] jffs2: Correct some typos in comments
@ 2024-09-23 8:33 Shen Lichuan
2024-09-23 11:01 ` Zhihao Cheng
0 siblings, 1 reply; 2+ messages in thread
From: Shen Lichuan @ 2024-09-23 8:33 UTC (permalink / raw)
To: dwmw2, richard; +Cc: linux-mtd, linux-kernel, opensource.kernel, Shen Lichuan
Fixed some confusing spelling errors, the details are as follows:
-in the code comments:
wating -> waiting
succefully -> successfully
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
---
fs/jffs2/gc.c | 2 +-
fs/jffs2/readinode.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c
index 822949d0eb00..1b833bbffcf5 100644
--- a/fs/jffs2/gc.c
+++ b/fs/jffs2/gc.c
@@ -82,7 +82,7 @@ static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c)
nextlist = &c->erasable_list;
} else if (!list_empty(&c->erasable_pending_wbuf_list)) {
- /* There are blocks are wating for the wbuf sync */
+ /* There are blocks are waiting for the wbuf sync */
jffs2_dbg(1, "Synching wbuf in order to reuse erasable_pending_wbuf_list blocks\n");
spin_unlock(&c->erase_completion_lock);
jffs2_flush_wbuf_pad(c);
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
index 03b4f99614be..f987f78a894e 100644
--- a/fs/jffs2/readinode.c
+++ b/fs/jffs2/readinode.c
@@ -72,7 +72,7 @@ static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info
if (err != -EOPNOTSUPP)
JFFS2_WARNING("MTD point failed: error code %d.\n", err);
} else
- pointed = 1; /* succefully pointed to device */
+ pointed = 1; /* successfully pointed to device */
#endif
if (!pointed) {
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v1] jffs2: Correct some typos in comments
2024-09-23 8:33 [PATCH v1] jffs2: Correct some typos in comments Shen Lichuan
@ 2024-09-23 11:01 ` Zhihao Cheng
0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2024-09-23 11:01 UTC (permalink / raw)
To: Shen Lichuan, dwmw2, richard; +Cc: linux-mtd, linux-kernel, opensource.kernel
在 2024/9/23 16:33, Shen Lichuan 写道:
> Fixed some confusing spelling errors, the details are as follows:
>
> -in the code comments:
> wating -> waiting
> succefully -> successfully
>
> Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
> ---
> fs/jffs2/gc.c | 2 +-
> fs/jffs2/readinode.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
> diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c
> index 822949d0eb00..1b833bbffcf5 100644
> --- a/fs/jffs2/gc.c
> +++ b/fs/jffs2/gc.c
> @@ -82,7 +82,7 @@ static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c)
>
> nextlist = &c->erasable_list;
> } else if (!list_empty(&c->erasable_pending_wbuf_list)) {
> - /* There are blocks are wating for the wbuf sync */
> + /* There are blocks are waiting for the wbuf sync */
> jffs2_dbg(1, "Synching wbuf in order to reuse erasable_pending_wbuf_list blocks\n");
> spin_unlock(&c->erase_completion_lock);
> jffs2_flush_wbuf_pad(c);
> diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
> index 03b4f99614be..f987f78a894e 100644
> --- a/fs/jffs2/readinode.c
> +++ b/fs/jffs2/readinode.c
> @@ -72,7 +72,7 @@ static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info
> if (err != -EOPNOTSUPP)
> JFFS2_WARNING("MTD point failed: error code %d.\n", err);
> } else
> - pointed = 1; /* succefully pointed to device */
> + pointed = 1; /* successfully pointed to device */
> #endif
>
> if (!pointed) {
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-23 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23 8:33 [PATCH v1] jffs2: Correct some typos in comments Shen Lichuan
2024-09-23 11:01 ` Zhihao Cheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®