[PATCH] ARM: 2780/1: AFS partition length calculation fix
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 30 Jun 2005 22:01:09 +0000 (23:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Jun 2005 22:01:09 +0000 (23:01 +0100)
commit747aead34de65c25765da79825ce2c08d8257b10
tree1edbf084b3e08fc0623431278f5dc0fda67ef634
parentabaf48a05a8f097654e746af2a5afb2ab95861a1
[PATCH] ARM: 2780/1: AFS partition length calculation fix

Patch from Catalin Marinas

This patch calculates the AFS partition length by expanding the image
length information to the nearest erase block boundary. This
eliminates the problems with JFFS2 erasing the footer.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mtd/afs.c