mtd/fs/jffs2 fs.c,1.45,1.46

David Woodhouse dwmw2 at infradead.org
Tue Jul 13 04:56:56 EDT 2004


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv28629

Modified Files:
	fs.c 
Log Message:
Fix flags mangling

Index: fs.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/fs.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- fs.c	29 Jun 2004 13:32:56 -0000	1.45
+++ fs.c	13 Jul 2004 08:56:54 -0000	1.46
@@ -361,7 +361,7 @@
 	if (!(*flags & MS_RDONLY))
 		jffs2_start_garbage_collect_thread(c);
 	
-	sb->s_flags = (sb->s_flags & ~MS_RDONLY)|(*flags & MS_RDONLY);
+	*flags |= MS_NOATIME;
 
 	return 0;
 }





More information about the linux-mtd-cvs mailing list