diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-18 10:50:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-18 10:50:02 -0700 |
commit | fd57ed021990157ee5b3997c3f21c734093a9e23 (patch) | |
tree | a32d18647b1becc1ee81fb04c5dd5dedeed4e1d7 /drivers/mtd/ubi/scan.h | |
parent | ca749e2af01bb3e6b94d441696903dc26c357443 (diff) | |
parent | 28237e4583604818294dc1ce7881db5f53377b9c (diff) | |
download | kernel_samsung_smdk4412-fd57ed021990157ee5b3997c3f21c734093a9e23.zip kernel_samsung_smdk4412-fd57ed021990157ee5b3997c3f21c734093a9e23.tar.gz kernel_samsung_smdk4412-fd57ed021990157ee5b3997c3f21c734093a9e23.tar.bz2 |
Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6
* 'linux-next' of git://git.infradead.org/ubi-2.6:
UBI: make tests modes dynamic
UBI: make self-checks dynamic
UBI: make debugging messages dynamic
UBI: remove UBI_IO_DEBUG macro
UBI: kill debugging buffer
UBI: allocate erase checking buffer on demand
UBI: allocate write checking buffer on demand
UBI: always re-read in case of read failures
UBI: cleanup comments about corrupted PEBs
UBI: add slab cache for ubi_scan_leb objects
UBI: use raw mtd read function in debugging code
UBI: try to reveal buggy MTD drivers
UBI: add a commentary about allocating VID header buffer on stack
UBI: cleanup LEB start calculations
UBI: fix NOR erase preparation quirk
Diffstat (limited to 'drivers/mtd/ubi/scan.h')
-rw-r--r-- | drivers/mtd/ubi/scan.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/scan.h b/drivers/mtd/ubi/scan.h index a3264f0..d48aef1 100644 --- a/drivers/mtd/ubi/scan.h +++ b/drivers/mtd/ubi/scan.h @@ -109,6 +109,7 @@ struct ubi_scan_volume { * @mean_ec: mean erase counter value * @ec_sum: a temporary variable used when calculating @mean_ec * @ec_count: a temporary variable used when calculating @mean_ec + * @scan_leb_slab: slab cache for &struct ubi_scan_leb objects * * This data structure contains the result of scanning and may be used by other * UBI sub-systems to build final UBI data structures, further error-recovery @@ -134,6 +135,7 @@ struct ubi_scan_info { int mean_ec; uint64_t ec_sum; int ec_count; + struct kmem_cache *scan_leb_slab; }; struct ubi_device; |