mtd/fs/jffs2 build.c,1.58,1.59

Artem Bityuckiy dedekind at infradead.org
Wed Nov 17 07:56:19 EST 2004


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

Modified Files:
	build.c 
Log Message:
Fix the last bugfix: use the jffs2_mark_node_obsolete() function instead
of directly marking the node obsolete. This will not break the
free/dirty space counters.


Index: build.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/build.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- build.c	17 Nov 2004 11:47:08 -0000	1.58
+++ build.c	17 Nov 2004 12:56:15 -0000	1.59
@@ -62,7 +62,7 @@
 		if (!child_ic) {
 			printk(KERN_NOTICE "Eep. Child \"%s\" (ino #%u) of dir ino #%u doesn't exist!\n",
 				  fd->name, fd->ino, ic->ino);
-			fd->raw->flash_offset = ref_offset(fd->raw) | REF_OBSOLETE;
+			jffs2_mark_node_obsolete(c, fd->raw);
 			continue;
 		}
 





More information about the linux-mtd-cvs mailing list