[JFFS2] Fix NOR only compile
authorArtem B. Bityuckiy <dedekind@infradead.org>
Tue, 3 May 2005 15:19:02 +0000 (16:19 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 11:19:07 +0000 (13:19 +0200)
commit8cd79216676d9122fa714615e6b49553761aca8a
tree148c1c6abe0e9241a0a701d05518386128424a97
parentc25bb1f59ca6ebbee2649d82533537d4bf123609
[JFFS2] Fix NOR only compile

Fix the bug that caouses problems when compiling for NOR.
We read  a newly erased block so we don't need to check ECC.

Define jffs2_is_writebuffered as zero if there is no wbuf.

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