summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/vtbl.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 16:36:39 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 21:26:03 +0400
commitd717dc2f85f07f68d313ac4f8f9f460f1e17dee0 (patch)
treec9797a46c3800b79a00106b7a4a3cad720c49452 /drivers/mtd/ubi/vtbl.c
parentdcd85fdd1040259f0053137f252321faec0a259f (diff)
downloadlinux-d717dc2f85f07f68d313ac4f8f9f460f1e17dee0.tar.xz
UBI: rename ubi_scan_rm_volume
The old name is not logical anymore - rename it to 'ubi_remove_av()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
-rw-r--r--drivers/mtd/ubi/vtbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c
index 0c8c17282c81..cfe3830759bd 100644
--- a/drivers/mtd/ubi/vtbl.c
+++ b/drivers/mtd/ubi/vtbl.c
@@ -738,7 +738,7 @@ static int check_scanning_info(const struct ubi_device *ubi,
vol = ubi->volumes[i];
if (!vol) {
if (av)
- ubi_scan_rm_volume(ai, av);
+ ubi_remove_av(ai, av);
continue;
}
@@ -756,7 +756,7 @@ static int check_scanning_info(const struct ubi_device *ubi,
* these eraseblocks.
*/
ubi_msg("finish volume %d removal", av->vol_id);
- ubi_scan_rm_volume(ai, av);
+ ubi_remove_av(ai, av);
} else if (av) {
err = check_av(vol, av);
if (err)