[JFFS2] Build fragtree in reverse order
authorArtem B. Bityutskiy <dedekind@infradead.org>
Mon, 1 Aug 2005 12:05:22 +0000 (13:05 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 17:22:17 +0000 (18:22 +0100)
commit1e0da3cb6cd4a909c64c870344183185bd6815b1
treef7ffedba74681cd8f7662990dfb4f3919dcaef23
parente0e3006f79a6d995c9a7de7556f11a9b97536423
[JFFS2] Build fragtree in reverse order

Instead of building fragtree starting from node with the smallest version
number, start from the highest. This helps to avoid reading and checking
obsolete nodes.

Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/nodelist.c
fs/jffs2/nodelist.h
fs/jffs2/readinode.c