diff options
author | Roman Tereshonkov <roman.tereshonkov@nokia.com> | 2011-12-02 15:07:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-18 07:31:51 -0800 |
commit | 48a22f1478fb90cad84d9c75dd91cb8ea9750280 (patch) | |
tree | fd7366ae9dbb4ae246f513b72ff24d3ae7a7d00e /drivers/mtd/nftlmount.c | |
parent | ac3adf0e80a661573a25bbe589a6f7f2ad1d2529 (diff) |
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 <roman.tereshonkov@nokia.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mtd/nftlmount.c')
0 files changed, 0 insertions, 0 deletions