[PATCH] jffs2: fix spelling mistake "neccecary"->"necessary"

Yu Zhe yuzhe at nfschina.com
Fri Nov 18 00:51:04 PST 2022


There is a spelling mistake in comment. Fix it.

Signed-off-by: Yu Zhe <yuzhe at nfschina.com>
---
 fs/jffs2/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index 39cec28096a7..af433c4271ff 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -403,7 +403,7 @@ int jffs2_do_remount_fs(struct super_block *sb, struct fs_context *fc)
 	/* We stop if it was running, then restart if it needs to.
 	   This also catches the case where it was stopped and this
 	   is just a remount to restart it.
-	   Flush the writebuffer, if neccecary, else we loose it */
+	   Flush the writebuffer, if necessary, else we loose it */
 	if (!sb_rdonly(sb)) {
 		jffs2_stop_garbage_collect_thread(c);
 		mutex_lock(&c->alloc_sem);
-- 
2.11.0




More information about the linux-mtd mailing list