]> git.karo-electronics.de Git - mv-sheeva.git/commit
mtd: mtdoops: skip reading initially bad blocks
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>
Fri, 2 Dec 2011 13:07:17 +0000 (15:07 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:12:47 +0000 (18:12 +0000)
commit3538c56329936c78f7d356889908790006d0124c
treefdbbe58414a31b2a8101f948ac3022c3e1ecc2c7
parent2f4478ccff7df845dc9c0f8996a96373122c4417
mtd: mtdoops: skip reading initially bad blocks

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.

Cc: stable@kernel.org
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdoops.c