[JFFS2] Fix NOR specific scan BUG
authorArtem B. Bityuckiy <dedekind@infradead.org>
Mon, 28 Feb 2005 08:21:09 +0000 (08:21 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:47:15 +0000 (12:47 +0200)
commit31fbdf7aa5aac8a2a34f180a25deb157297a10c9
tree2189fa2b2f74789e259724719826f6508ae305da
parent67e345d17ff8c2085a54c293001ae548f7be7b21
[JFFS2] Fix NOR specific scan BUG

Fix fairly sad NOR-specific bug - during FS building ic->scan_dents
isn't zero, but jffs2_mark_node_obsolete() migt be called it tries to
finde the ic corresponding to ref - this requires ic->scan_dents = 0.

Signed-off-by: Artem B. Bityuckiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/build.c
fs/jffs2/nodemgmt.c
include/linux/jffs2_fs_sb.h