mtd/include/linux jffs2_fs_i.h,1.12,1.13

David Woodhouse dwmw2 at infradead.org
Sun Sep 1 11:47:06 EDT 2002


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

Modified Files:
	jffs2_fs_i.h 
Log Message:
Prepare for switching to rbtrees for fragment lists. Introduce 
jffs2_lookup_node_frag(), frag_first() and frag_next() to the generic 
code, with the initial list-based implemention unchanged for now. Add
comment /* RBTREE */ in the places I then need to change when we switch.


Index: jffs2_fs_i.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_i.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- jffs2_fs_i.h	6 Mar 2002 13:59:21 -0000	1.12
+++ jffs2_fs_i.h	1 Sep 2002 15:47:03 -0000	1.13
@@ -18,7 +18,7 @@
 	uint32_t highest_version;
 
 	/* List of data fragments which make up the file */
-	struct jffs2_node_frag *fraglist;
+	struct jffs2_node_frag *fragtree;
 
 	/* There may be one datanode which isn't referenced by any of the
 	   above fragments, if it contains a metadata update but no actual





More information about the linux-mtd-cvs mailing list