From: Roman Tereshonkov Date: Fri, 2 Dec 2011 13:07:17 +0000 (+0200) Subject: mtd: mtdoops: skip reading initially bad blocks X-Git-Tag: v3.2.2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc3bd1ff1d248c3ab9a2c57c285b86bd17dd2176;p=pandora-kernel.git mtd: mtdoops: skip reading initially bad blocks commit 3538c56329936c78f7d356889908790006d0124c upstream. Use block_isbad to check and skip the bad blocks reading. This will allow to get rid of the read errors if bad blocks are present initially. Signed-off-by: Roman Tereshonkov Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed