mtd/fs/jffs2 nodelist.c,1.91,1.92

tpoynor at infradead.org tpoynor at infradead.org
Wed Jan 19 14:22:04 EST 2005


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

Modified Files:
	nodelist.c 
Log Message:
Avoid "Eep. No valid nodes for ino #1" message for just-created filesystem.


Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- nodelist.c	21 Dec 2004 14:38:48 -0000	1.91
+++ nodelist.c	19 Jan 2005 19:22:00 -0000	1.92
@@ -127,7 +127,7 @@
 
 	valid_ref = jffs2_first_valid_node(f->inocache->nodes);
 
-	if (!valid_ref)
+	if (!valid_ref && (f->inocache->ino != 1))
 		printk(KERN_WARNING "Eep. No valid nodes for ino #%u\n", f->inocache->ino);
 
 	while (valid_ref) {





More information about the linux-mtd-cvs mailing list