UBI: rename struct ubi_scan_leb
Rename 'struct ubi_scan_leb' to 'struct ubi_ainf_leb'. This is part of the code re-structuring I am trying to do in order to add fastmap in a more logical way. Fastmap can share a lot with scanning, including the attach-time data structures, which all now have "scan" word in the name. Let's get rid of this word and use "ainf" instead which stands for "attach information". It has the same length as "scan" so re-naming is trivial. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
This commit is contained in:

committed by
Artem Bityutskiy

parent
97d6104bac
commit
227423d241
@@ -188,11 +188,11 @@ void ubi_dump_sv(const struct ubi_scan_volume *sv)
|
||||
}
|
||||
|
||||
/**
|
||||
* ubi_dump_seb - dump a &struct ubi_scan_leb object.
|
||||
* ubi_dump_seb - dump a &struct ubi_ainf_peb object.
|
||||
* @seb: the object to dump
|
||||
* @type: object type: 0 - not corrupted, 1 - corrupted
|
||||
*/
|
||||
void ubi_dump_seb(const struct ubi_scan_leb *seb, int type)
|
||||
void ubi_dump_seb(const struct ubi_ainf_peb *seb, int type)
|
||||
{
|
||||
printk(KERN_DEBUG "eraseblock scanning information dump:\n");
|
||||
printk(KERN_DEBUG "\tec %d\n", seb->ec);
|
||||
|
Reference in New Issue
Block a user