]> err.no Git - linux-2.6/commit
[JFFS2] Better fix for all-zero node headers
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Sat, 10 Mar 2007 16:08:44 +0000 (17:08 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 25 Apr 2007 03:13:06 +0000 (04:13 +0100)
commit0dec4c8bc6ed62a65b61594aa754e21270423796
tree42f4f16e9173fc75aa27e69510b9b4e123122d30
parentdf8e96f39103adf5a13332d784040a2c62667243
[JFFS2] Better fix for all-zero node headers

No need to check for all-zero header since the header cannot
be zero due to other checks.

Replace the all-zero header check in readinode.c with a
check for the magic word.

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