aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/jffs2
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-11-18 16:51:04 +0800
committerRichard Weinberger <richard@nod.at>2023-02-02 21:13:54 +0100
commit7198c9c00338287fe364d76bba35b3b10feec3c5 (patch)
treea17a7332840b8109fa13fb2d139dc77530e4ba40 /fs/jffs2
parentubifs: Fix kernel-doc (diff)
downloadwireguard-linux-7198c9c00338287fe364d76bba35b3b10feec3c5.tar.xz
wireguard-linux-7198c9c00338287fe364d76bba35b3b10feec3c5.zip
jffs2: fix spelling mistake "neccecary"->"necessary"
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>
Diffstat (limited to 'fs/jffs2')
-rw-r--r--fs/jffs2/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index 66af51c41619..e952b0bd548b 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);