mtd/fs/jffs3 write.c,3.12,3.13

David Woodhouse dwmw2 at infradead.org
Tue Mar 22 06:11:37 EST 2005


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

Modified Files:
	write.c 
Log Message:
Ain't gonna get tested that way, now is it?


Index: write.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs3/write.c,v
retrieving revision 3.12
retrieving revision 3.13
diff -u -r3.12 -r3.13
--- write.c	28 Jan 2005 18:53:02 -0000	3.12
+++ write.c	22 Mar 2005 11:11:33 -0000	3.13
@@ -556,8 +556,7 @@
 	uint32_t alloclen, phys_ofs;
 	int ret;
 
-	if (1 /* alternative branch needs testing */ ||
-	    !jffs3_can_mark_obsolete(c)) {
+	if (!jffs3_can_mark_obsolete(c)) {
 		/* We can't mark stuff obsolete on the medium. We need to write a deletion dirent */
 
 		rd = jffs3_alloc_raw_dirent();





More information about the linux-mtd-cvs mailing list