mtd/fs/jffs2 write.c,1.70,1.71

David Woodhouse dwmw2 at infradead.org
Fri Oct 3 11:34:02 EDT 2003


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

Modified Files:
	write.c 
Log Message:
Enable retry, now it's safe to change the allocation.


Index: write.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/write.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- write.c	3 Oct 2003 15:33:06 -0000	1.70
+++ write.c	3 Oct 2003 15:33:59 -0000	1.71
@@ -94,7 +94,7 @@
 	size_t retlen;
 	struct iovec vecs[2];
 	int ret;
-	int retried = 1; /* Don't activate this yet */
+	int retried = 0;
 	unsigned long cnt = 2;
 
 	D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) {
@@ -221,7 +221,7 @@
 	struct jffs2_full_dirent *fd;
 	size_t retlen;
 	struct iovec vecs[2];
-	int retried = 1; /* Not yet */
+	int retried = 0;
 	int ret;
 
 	D1(printk(KERN_DEBUG "jffs2_write_dirent(ino #%u, name at *0x%p \"%s\"->ino #%u, name_crc 0x%08x)\n", 




More information about the linux-mtd-cvs mailing list