UBI: rename struct ubi_scan_volume

Rename 'struct ubi_scan_volume' to 'struct ubi_ainf_volume'. 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:
Artem Bityutskiy
2012-05-17 06:59:30 +03:00
committed by Artem Bityutskiy
parent 227423d241
commit cb28a9322d
7 changed files with 34 additions and 34 deletions

View File

@@ -171,10 +171,10 @@ void ubi_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx)
}
/**
* ubi_dump_sv - dump a &struct ubi_scan_volume object.
* ubi_dump_sv - dump a &struct ubi_ainf_volume object.
* @sv: the object to dump
*/
void ubi_dump_sv(const struct ubi_scan_volume *sv)
void ubi_dump_sv(const struct ubi_ainf_volume *sv)
{
printk(KERN_DEBUG "Volume scanning information dump:\n");
printk(KERN_DEBUG "\tvol_id %d\n", sv->vol_id);