jffs2: fix spelling mistake "neccecary"->"necessary"
authorYu Zhe <yuzhe@nfschina.com>
Fri, 18 Nov 2022 08:51:04 +0000 (16:51 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 2 Feb 2023 20:13:54 +0000 (21:13 +0100)
There is a spelling mistake in comment. Fix it.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/jffs2/fs.c

index 66af51c416195a8136af575a0558f8f683a88225..e952b0bd548b6c10095f7f9df9f17e206057f149 100644 (file)
@@ -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);