mtd/include/linux jffs2_fs_sb.h,1.50,1.51

Artem Bityuckiy dedekind at infradead.org
Mon Feb 28 03:21:09 EST 2005


Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv12541/include/linux

Modified Files:
	jffs2_fs_sb.h 
Log Message:
Fix fairly sad NOR-specific bug - during FS building ic->scan_dents
isn't zero, but jffs2_mark_node_obsolete() migt be called it tries to
finde the ic corresponding to ref - this requires ic->scan_dents = 0.


Index: jffs2_fs_sb.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_sb.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- jffs2_fs_sb.h	9 Feb 2005 09:23:55 -0000	1.50
+++ jffs2_fs_sb.h	28 Feb 2005 08:21:06 -0000	1.51
@@ -14,7 +14,8 @@
 #include <linux/rwsem.h>
 
 #define JFFS2_SB_FLAG_RO 1
-#define JFFS2_SB_FLAG_MOUNTING 2
+#define JFFS2_SB_FLAG_SCANNING 2 /* Flash scanning is in progress */
+#define JFFS2_SB_FLAG_BUILDING 4 /* File system building is in progress */
 
 struct jffs2_inodirty;
 





More information about the linux-mtd-cvs mailing list