summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 14:56:03 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 19:26:03 +0200
commit1fc2e3e59d78999fc4be7349af769cf6621b9e61 (patch)
tree98f923f53587d71bbc35cbbb21e4c21e7db4cadd /drivers/mtd/ubi/scan.h
parentUBI: rename ubi_scan_move_to_list (diff)
downloadlinux-1fc2e3e59d78999fc4be7349af769cf6621b9e61.tar.xz
linux-1fc2e3e59d78999fc4be7349af769cf6621b9e61.zip
UBI: rename ubi_scan_leb_slab
The old name is not logical anymore - rename it to 'aeb_slab_cache'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/scan.h')
-rw-r--r--drivers/mtd/ubi/scan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/scan.h b/drivers/mtd/ubi/scan.h
index aa76b3b5c6b5..20bec7cf9ac8 100644
--- a/drivers/mtd/ubi/scan.h
+++ b/drivers/mtd/ubi/scan.h
@@ -110,7 +110,7 @@ struct ubi_ainf_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_ainf_peb objects
+ * @aeb_slab_cache: slab cache for &struct ubi_ainf_peb objects
*
* This data structure contains the result of attaching an MTD device and may
* be used by other UBI sub-systems to build final UBI data structures, further
@@ -136,7 +136,7 @@ struct ubi_attach_info {
int mean_ec;
uint64_t ec_sum;
int ec_count;
- struct kmem_cache *scan_leb_slab;
+ struct kmem_cache *aeb_slab_cache;
};
struct ubi_device;