]> git.karo-electronics.de Git - mv-sheeva.git/commit
[JFFS2] Prevent oops after 'node added in wrong place' debug check
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Sun, 24 Jun 2007 17:22:29 +0000 (19:22 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 2 Aug 2007 20:36:35 +0000 (21:36 +0100)
commit5bd5c03c317085339deb044ba52fce131a6a0b67
tree2d4b7691136f6069ef074c5f7b2b872f2ecd9f2d
parent370504cf7c68b953de55c41d5e0be97d30f3cf00
[JFFS2] Prevent oops after 'node added in wrong place' debug check

jffs2_add_physical_node_ref() should never really return error -- it's
an internal debugging check which triggered. We really need to work out
why and stop it happening. But in the meantime, let's make the failure
mode a little less nasty.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/write.c