[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)
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>

No differences found