mtd/fs/jffs2 nodelist.c,1.44,1.45
David Woodhouse
dwmw2 at infradead.org
Mon Jun 10 08:48:46 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv6536
Modified Files:
nodelist.c
Log Message:
Er, if you actually bother to _set_ the inocache_last pointer on lookup,
it makes a hell of a lot more difference to lookup times than when you don't
bother.
Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- nodelist.c 20 May 2002 14:56:38 -0000 1.44
+++ nodelist.c 10 Jun 2002 12:48:44 -0000 1.45
@@ -297,6 +297,8 @@
if (ret && ret->ino != ino)
ret = NULL;
+ if (ret)
+ c->inocache_last = ret;
}
spin_unlock(&c->inocache_lock);
More information about the linux-mtd-cvs
mailing list