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

Artem Bityuckiy dedekind at infradead.org
Wed Nov 17 06:47:12 EST 2004


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

Modified Files:
	build.c 
Log Message:
Bugfix: when we have found an inodeless direntry, mark the correspondent
node_ref as obsolete in order to let the GC to kill this direntry.


Index: build.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/build.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- build.c	16 Nov 2004 20:36:11 -0000	1.57
+++ build.c	17 Nov 2004 11:47:08 -0000	1.58
@@ -62,6 +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;
 			continue;
 		}
 





More information about the linux-mtd-cvs mailing list