mtd/fs/jffs2 build.c,1.45,1.46

gleixner at infradead.org gleixner at infradead.org
Tue Apr 29 13:12:28 EDT 2003


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

Modified Files:
	build.c 
Log Message:
keep it inside inocache

Index: build.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/build.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- build.c	29 Apr 2003 13:06:39 -0000	1.45
+++ build.c	29 Apr 2003 17:12:26 -0000	1.46
@@ -22,7 +22,7 @@
 static inline struct jffs2_inode_cache *
 first_inode_chain(int *i, struct jffs2_sb_info *c)
 {
-	for (; *i <= INOCACHE_HASHSIZE; (*i)++) {
+	for (; *i < INOCACHE_HASHSIZE; (*i)++) {
 		if (c->inocache_list[*i])
 			return c->inocache_list[*i];
 	}




More information about the linux-mtd-cvs mailing list