]> err.no Git - linux-2.6/commit
[JFFS2] Correct cleanmarker checks -- we should use only 8 bytes
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 9 Aug 2007 09:28:20 +0000 (17:28 +0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 9 Aug 2007 09:28:20 +0000 (17:28 +0800)
commit09b3fba562ce366312b90a6f71d0b727b4d93ba9
treebe34f5fe551c0c72a92bff56adcc6d46cddb7fb6
parent471f717a48d25afcb9428c9523cd0557738b7115
[JFFS2] Correct cleanmarker checks -- we should use only 8 bytes

Commit a7a6ace1406f95c3edb8365788f85984377f3832 revamped the OOB
handling but accidentally switched to 12-byte cleanmarkers, which is
incompatible with what 'flash_eraseall -j' will do. So using
flash_eraseall -j and then trying to mount the 'empty' flash will fail,
because the cleanmarkers aren't recognised.

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