Patchwork Fix incorrect use of loose in fs.c

login
register
mail settings
Submitter Nick Andrew
Date Dec. 5, 2008, 3:08 a.m.
Message ID <20081205030806.32225.66382.stgit@marcab.local.tull.net>
Download mbox | patch
Permalink /patch/12367/
State New
Headers show

Comments

Nick Andrew - Dec. 5, 2008, 3:08 a.m.
Fix incorrect use of loose in fs.c

It should be 'lose', not 'loose'. Also fix a spelling error.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
---

 fs/jffs2/fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Howells - Dec. 5, 2008, 10:47 a.m.
Nick Andrew <nick@nick-andrew.net> wrote:

> Fix incorrect use of loose in fs.c
> 
> It should be 'lose', not 'loose'. Also fix a spelling error.
> 
> Signed-off-by: Nick Andrew <nick@nick-andrew.net>

Acked-by: David Howells <dhowells@redhat.com>

Patch

diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index 249305d..a598de9 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -386,7 +386,7 @@  int jffs2_remount_fs (struct super_block *sb, int *flags, char *data)
 	/* 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 lose it */
 	if (!(sb->s_flags & MS_RDONLY)) {
 		jffs2_stop_garbage_collect_thread(c);
 		mutex_lock(&c->alloc_sem);