mtd/fs/jffs2 super.c,1.71,1.72

David Woodhouse dwmw2 at infradead.org
Tue Jul 23 10:39:57 EDT 2002


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

Modified Files:
	super.c 
Log Message:
Fix debugging printks in jffs2_sb_compare() after 'data' arg got changed in 2.5.


Index: super.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/super.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- super.c	23 Jul 2002 12:57:38 -0000	1.71
+++ super.c	23 Jul 2002 14:39:54 -0000	1.72
@@ -77,11 +77,11 @@
 	/* The superblocks are considered to be equivalent if the underlying MTD
 	   device is the same one */
 	if (c->mtd == p->mtd) {
-		D1(printk(KERN_DEBUG "jffs2_sb_compare: match on device %d (\"%s\")\n", mtd->index, mtd->name));
+		D1(printk(KERN_DEBUG "jffs2_sb_compare: match on device %d (\"%s\")\n", p->mtd->index, p->mtd->name));
 		return 1;
 	} else {
 		D1(printk(KERN_DEBUG "jffs2_sb_compare: No match, device %d (\"%s\"), device %d (\"%s\")\n",
-			  c->mtd->index, c->mtd->name, mtd->index, mtd->name));
+			  c->mtd->index, c->mtd->name, p->mtd->index, p->mtd->name));
 		return 0;
 	}
 }





More information about the linux-mtd-cvs mailing list