[JFFS2] Fix node allocation leak
authorThomas Gleixner <tglx@tglx.tec.linutronix.de>
Fri, 15 Jul 2005 06:14:44 +0000 (08:14 +0200)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Fri, 15 Jul 2005 06:14:44 +0000 (08:14 +0200)
commit5d157885f383ccc0660c011fa488ae4edb77ab16
tree0caba31219184fcf47fb7f91ef330217812cc149
parentba460e48064edeb57e3398eb8972c58de33f11ea
[JFFS2] Fix node allocation leak

In the rare case of failing to write the cleanmarker
the allocated node was not freed.

Pointed out by Forrest Zhao
Initial cleanup by Joern Engel

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/erase.c