[JFFS2] Fix refile of blocks due to write failure.
authorEstelle Hammache <estelle.hammache@st.com>
Mon, 24 Jan 2005 21:30:25 +0000 (21:30 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:14:34 +0000 (12:14 +0200)
commit3118db3dfe7c16284d1d578e628fd87639b00731
treea0bd21784ca0dfd95f4713c4d649a37b5f531371
parent7f716cf3f9cc9dd420b9c75071559017812df6d2
[JFFS2] Fix refile of blocks due to write failure.

avoid segfault when nextblock was refiled because of a write failure
- avoid filing blocks on the clean list when they have wasted
space

Signed-off-by: Estelle Hammache <estelle.hammache@st.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/nodemgmt.c