mtd/fs/jffs3 debug.c,1.1,1.2 debug.h,1.1,1.2 write.c,3.2,3.3

Artem Bityuckiy dedekind at infradead.org
Mon Dec 13 12:15:50 EST 2004


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

Modified Files:
	debug.c debug.h write.c 
Log Message:
Fix names.


Index: debug.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs3/debug.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- debug.c	13 Dec 2004 15:26:21 -0000	1.1
+++ debug.c	13 Dec 2004 17:15:46 -0000	1.2
@@ -116,7 +116,7 @@
  * Check if the flash contains all 0xFF before write.
  */
 void
-jffs2_dbg_paranoia_writecheck(struct jffs3_sb_info *c, uint32_t ofs, int len)
+jffs3_dbg_prewrite_paranoia_check(struct jffs3_sb_info *c, uint32_t ofs, int len)
 {
 	size_t retlen;
 	int ret, i;
@@ -222,7 +222,7 @@
 }
 
 void
-jffs2_dbg_paranoia_writecheck(struct jffs3_sb_info *c, uint32_t ofs, int len)
+jffs3_dbg_prewrite_paranoia_check(struct jffs3_sb_info *c, uint32_t ofs, int len)
 {
 }
 

Index: debug.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs3/debug.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- debug.h	13 Dec 2004 15:28:12 -0000	1.1
+++ debug.h	13 Dec 2004 17:15:46 -0000	1.2
@@ -28,7 +28,7 @@
 jffs3_dbg_acct_paranoia_check(struct jffs3_sb_info *c, struct jffs3_eraseblock *jeb);
 
 void
-jffs2_dbg_paranoia_writecheck(struct jffs3_sb_info *c, uint32_t ofs, int len);
+jffs3_dbg_prewrite_paranoia_check(struct jffs3_sb_info *c, uint32_t ofs, int len);
 
 void
 jffs3_dbg_fragtree_paranoia_check(struct jffs3_inode_info *f);

Index: write.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs3/write.c,v
retrieving revision 3.2
retrieving revision 3.3
diff -u -r3.2 -r3.3
--- write.c	13 Dec 2004 15:38:48 -0000	3.2
+++ write.c	13 Dec 2004 17:15:46 -0000	3.3
@@ -79,7 +79,7 @@
 	vecs[1].iov_base = (unsigned char *)data;
 	vecs[1].iov_len = datalen;
 
-	jffs2_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len);
+	jffs3_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len);
 
 	if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) {
 		printk(KERN_WARNING "jffs3_write_dnode: ri->totlen (0x%08x) != sizeof(*ri) (0x%08zx) + datalen (0x%08x)\n", je32_to_cpu(ri->totlen), sizeof(*ri), datalen);
@@ -225,7 +225,7 @@
 	vecs[0].iov_len = sizeof(*rd);
 	vecs[1].iov_base = (unsigned char *)name;
 	vecs[1].iov_len = namelen;
-	jffs2_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len);
+	jffs3_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len);
 	
 	raw = jffs3_alloc_raw_node_ref();
 





More information about the linux-mtd-cvs mailing list