From: Adrian Hunter Date: Thu, 8 Mar 2007 10:20:12 +0000 (+0200) Subject: [MTD] Correct partition failed erase address X-Git-Tag: v2.6.21-rc4~69^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74641d75275936796d239f828b80cb030e9f9b0a;p=pandora-kernel.git [MTD] Correct partition failed erase address If an erase operation fails, the address at which the failure occurred is returned by the driver. The MTD partition must adjust this address (by subtracting the partition offset) before returning to the caller. This was not happening, which caused JFFS2 to mark the wrong block bad! Signed-off-by: Adrian Hunter Signed-off-by: David Woodhouse --- Reading git-diff-tree failed