[JFFS2] Add some preemptive BUG checks for XATTR code
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 May 2006 15:29:23 +0000 (16:29 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 May 2006 15:29:23 +0000 (16:29 +0100)
commit0eac940b8a087576c66ecf8e0f294f2ceb3b607b
treea21f5376f5fec2c21fe23e90e3317f1a1c48cc3e
parentfcb7578719529898aef9edce8e409e457a1c2d15
[JFFS2] Add some preemptive BUG checks for XATTR code

In a couple of places, we assume that what's at the end of the
->next_in_ino list is a struct jffs2_inode_cache. Let's check
for that, since we expect it to change soon.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/erase.c
fs/jffs2/nodemgmt.c