mtd/fs/jffs2 build.c,1.52,1.53

David Woodhouse dwmw2 at infradead.org
Fri Oct 24 07:33:02 EDT 2003


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

Modified Files:
	build.c 
Log Message:
Optimisation for NAND: Return EAGAIN from remove_unlinked_inode() only
if we _really_ did decrement nlink of any children, not just if it 
happened to be a directory.


Index: build.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/build.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- build.c	9 Oct 2003 00:38:38 -0000	1.52
+++ build.c	24 Oct 2003 11:32:59 -0000	1.53
@@ -216,8 +216,8 @@
 			}
 			jffs2_free_full_dirent(fd);
 			child_ic->nlink--;
+			ret = -EAGAIN;
 		}
-		ret = -EAGAIN;
 	}
 
 	/*




More information about the linux-mtd-cvs mailing list