[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, 28 Jun 2007 17:55:27 +0000 (18:55 +0100)
commitf79c44980aae3f50fe73e50789641df265953cc6
tree85d9a28ba77ace19d970f32db4c5a92dbbded6a6
parentfab2c399129273713b7dcc6a54cef17ca124a47f
[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