]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
JFFS2: Change scansize to match linux kernel
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Wed, 1 Jul 2015 04:38:27 +0000 (16:38 +1200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:31 +0000 (20:47 -0400)
commit081adef7e61be60c1328098cd19cb5aa6ceda21f
tree143e80164581d800bcfb790cefcb96e4ef3aa668
parentc5b1940f5729232b9230d4e669d30d29fa72c9b7
JFFS2: Change scansize to match linux kernel

The scan code is similar to the linux kernel, but the kernel defines a much
smaller size to scan through before deciding a sector is blank. Assuming
that what is in the kernel is OK, make these two match.

On its own, this change makes no difference to scanning of any sectors
which have a clean marker at the beginning, since the entire sector is not
blank.

Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
fs/jffs2/jffs2_1pass.c