]> err.no Git - linux-2.6/commit
[JFFS2] Handle inodes with only a single metadata node with non-zero isize
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 25 Apr 2007 16:04:23 +0000 (17:04 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 25 Apr 2007 16:04:23 +0000 (17:04 +0100)
commit61c4b23770d1b0cef7c06a23378ab544eb0c64b4
treeb4cf1e784621d2f60a3494ded1d5852934107c22
parentc00c310eac04a28d2143368ae988716792ed53ce
[JFFS2] Handle inodes with only a single metadata node with non-zero isize

This should never happen unless there's corruption on the medium and the
actual data nodes go missing. But the failure mode (an oops when we assume
the fragtree isn't empty and go looking for its last node) isn't useful.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/nodelist.c
fs/jffs2/nodelist.h
fs/jffs2/readinode.c