Skip to content

Commit 1eb4a82

Browse files
Shen Lichuanrichardweinberger
authored andcommitted
jffs2: Correct some typos in comments
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> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 3ba44ee commit 1eb4a82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fs/jffs2/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c)
8282

8383
nextlist = &c->erasable_list;
8484
} else if (!list_empty(&c->erasable_pending_wbuf_list)) {
85-
/* There are blocks are wating for the wbuf sync */
85+
/* There are blocks are waiting for the wbuf sync */
8686
jffs2_dbg(1, "Synching wbuf in order to reuse erasable_pending_wbuf_list blocks\n");
8787
spin_unlock(&c->erase_completion_lock);
8888
jffs2_flush_wbuf_pad(c);

fs/jffs2/readinode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info
7272
if (err != -EOPNOTSUPP)
7373
JFFS2_WARNING("MTD point failed: error code %d.\n", err);
7474
} else
75-
pointed = 1; /* succefully pointed to device */
75+
pointed = 1; /* successfully pointed to device */
7676
#endif
7777

7878
if (!pointed) {

0 commit comments

Comments
 (0)