mtd/fs/jffs2 nodelist.c,1.30.2.4,1.30.2.5

David Woodhouse dwmw2 at infradead.org
Tue Aug 20 17:02:03 EDT 2002


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

Modified Files:
      Tag: jffs2-2_4-branch
	nodelist.c 
Log Message:
Oops. This could have fucked up highest_version calculation. Luckily they
were in the same place.


Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.30.2.4
retrieving revision 1.30.2.5
diff -u -r1.30.2.4 -r1.30.2.5
--- nodelist.c	10 May 2002 18:30:33 -0000	1.30.2.4
+++ nodelist.c	20 Aug 2002 21:02:00 -0000	1.30.2.5
@@ -202,9 +202,9 @@
 				err = -EIO;
 				goto free_out;
 			}
-			if (node.d.version > *highest_version)
+			if (node.i.version > *highest_version)
 				*highest_version = node.i.version;
-			D1(printk(KERN_DEBUG "version %d, highest_version now %d\n", node.d.version, *highest_version));
+			D1(printk(KERN_DEBUG "version %d, highest_version now %d\n", node.i.version, *highest_version));
 
 			if (ref->flash_offset & 1) {
 				D1(printk(KERN_DEBUG "obsoleted\n"));





More information about the linux-mtd-cvs mailing list