diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-03-19 07:53:42 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-25 04:50:14 +0400 |
commit | a2f812df0b3d467db2ae5e3be38c36ff692ff99f (patch) | |
tree | 95f3451db3b485ab928b76e536cf526a41ac0995 /fs/nfsd/idmap.h | |
parent | a626743f579aa743473fd8b9215ca198bacf2ac4 (diff) | |
download | linux-a2f812df0b3d467db2ae5e3be38c36ff692ff99f.tar.xz |
mtd: nand: dynamic allocation of flash-based BBT structs
It is nicer to dynamically create our badblock patterns than to
statically define them. The nand_create_default_bbt_descr() function
does a sufficient job of handling various bad block scanning options
for either flash-based or non-flash-based BBTs, so we might as well
use the function for both cases.
This patch simplifies and shortens our code (and removes a TODO that
I left a few months ago).
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/nfsd/idmap.h')
0 files changed, 0 insertions, 0 deletions