]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtdoops: skip reading initially bad blocks
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>
Fri, 2 Dec 2011 13:07:17 +0000 (15:07 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 4 Dec 2011 14:22:34 +0000 (16:22 +0200)
commitd9c547224a5ec64846fdb66417647a5306e694ee
tree8d6c9507dc7333b0e8d6125aa01c5303633b0018
parentf00370602da10362892e7d468869ff1ab9fd2213
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>
drivers/mtd/mtdoops.c