diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-17 07:38:34 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:26:02 -0400 |
commit | 517af48c0540e61bbe0ebbb5f463afe937b73894 (patch) | |
tree | e97c38c582bf92682a254d6f5bc823c86d0572d5 /drivers/mtd/ubi/wl.c | |
parent | a4e6042f1d073073f88e0ad6d2a7450da9a3937d (diff) |
UBI: rename sv to av
After re-naming the 'struct ubi_scan_volume' we should adjust all variables
named 'sv' to something else, because 'sv' stands for "scanning volume".
Let's rename it to 'av' which stands for "attaching volume" which is
a bit more consistent and has the same length, which makes re-naming easy.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 992240dae1b1..72fbae1f0a5d 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c | |||
@@ -1384,7 +1384,7 @@ int ubi_wl_init_scan(struct ubi_device *ubi, struct ubi_attach_info *ai) | |||
1384 | { | 1384 | { |
1385 | int err, i; | 1385 | int err, i; |
1386 | struct rb_node *rb1, *rb2; | 1386 | struct rb_node *rb1, *rb2; |
1387 | struct ubi_ainf_volume *sv; | 1387 | struct ubi_ainf_volume *av; |
1388 | struct ubi_ainf_peb *aeb, *tmp; | 1388 | struct ubi_ainf_peb *aeb, *tmp; |
1389 | struct ubi_wl_entry *e; | 1389 | struct ubi_wl_entry *e; |
1390 | 1390 | ||
@@ -1436,8 +1436,8 @@ int ubi_wl_init_scan(struct ubi_device *ubi, struct ubi_attach_info *ai) | |||
1436 | ubi->lookuptbl[e->pnum] = e; | 1436 | ubi->lookuptbl[e->pnum] = e; |
1437 | } | 1437 | } |
1438 | 1438 | ||
1439 | ubi_rb_for_each_entry(rb1, sv, &ai->volumes, rb) { | 1439 | ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { |
1440 | ubi_rb_for_each_entry(rb2, aeb, &sv->root, u.rb) { | 1440 | ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) { |
1441 | cond_resched(); | 1441 | cond_resched(); |
1442 | 1442 | ||
1443 | e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL); | 1443 | e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL); |