mtd/fs/jffs2 erase.c,1.62,1.63

David Woodhouse dwmw2 at infradead.org
Thu Nov 11 07:38:31 EST 2004


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

Modified Files:
	erase.c 
Log Message:
Set bad_offset when erase fails under eCos


Index: erase.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/erase.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- erase.c	3 Nov 2004 12:57:39 -0000	1.62
+++ erase.c	11 Nov 2004 12:38:28 -0000	1.63
@@ -43,6 +43,7 @@
                jffs2_erase_succeeded(c, jeb);
                return;
        }
+       bad_offset = jeb->offset;
 #else /* Linux */
 	struct erase_info *instr;
 





More information about the linux-mtd-cvs mailing list